diff options
Diffstat (limited to 'kolourpaint/kpthumbnail.cpp')
-rw-r--r-- | kolourpaint/kpthumbnail.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kolourpaint/kpthumbnail.cpp b/kolourpaint/kpthumbnail.cpp index 84923c1d..a1de8556 100644 --- a/kolourpaint/kpthumbnail.cpp +++ b/kolourpaint/kpthumbnail.cpp @@ -63,16 +63,16 @@ kpThumbnail::kpThumbnail (kpMainWindow *parent, const char *name) } - TQSize layoutMinimumSize = tqlayout () ? tqlayout ()->tqminimumSize () : TQSize (); + TQSize layoutMinimumSize = layout () ? layout ()->minimumSize () : TQSize (); #if DEBUG_KP_THUMBNAIL - kdDebug () << "\ttqlayout=" << tqlayout () - << " minSize=" << (tqlayout () ? tqlayout ()->tqminimumSize () : TQSize ()) << endl; + kdDebug () << "\tlayout=" << layout () + << " minSize=" << (layout () ? layout ()->minimumSize () : TQSize ()) << endl; kdDebug () << "\tboxLayout=" << boxLayout () - << " minSize=" << (boxLayout () ? boxLayout ()->tqminimumSize () : TQSize ()) + << " minSize=" << (boxLayout () ? boxLayout ()->minimumSize () : TQSize ()) << endl; #endif - if (tqlayout ()) - tqlayout ()->setResizeMode (TQLayout::FreeResize); + if (layout ()) + layout ()->setResizeMode (TQLayout::FreeResize); setMinimumSize (TQMAX (layoutMinimumSize.width (), 64), TQMAX (layoutMinimumSize.height (), 64)); |