summaryrefslogtreecommitdiffstats
path: root/chalk/ui/imageviewer.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chalk/ui/imageviewer.cc')
-rw-r--r--chalk/ui/imageviewer.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chalk/ui/imageviewer.cc b/chalk/ui/imageviewer.cc
index 09955e9e..cfe6905d 100644
--- a/chalk/ui/imageviewer.cc
+++ b/chalk/ui/imageviewer.cc
@@ -35,7 +35,7 @@ ImageViewer::ImageViewer(TQWidget *widget, const char * name)
, m_image(TQPixmap())
{
m_label = new TQLabel( viewport());
- setSizePolicy(TQSizePolicy::MinimumExpanding, TQSizePolicy::MinimumExpanding);
+ tqsetSizePolicy(TQSizePolicy::MinimumExpanding, TQSizePolicy::MinimumExpanding);
setCursor(KisCursor::handCursor());
addChild(m_label);
}