diff options
Diffstat (limited to 'digikam/utilities/lighttable/lighttablepreview.cpp')
-rw-r--r-- | digikam/utilities/lighttable/lighttablepreview.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/digikam/utilities/lighttable/lighttablepreview.cpp b/digikam/utilities/lighttable/lighttablepreview.cpp index 8d2c4aaf..a0b369cf 100644 --- a/digikam/utilities/lighttable/lighttablepreview.cpp +++ b/digikam/utilities/lighttable/lighttablepreview.cpp @@ -137,7 +137,7 @@ LightTablePreview::LightTablePreview(TQWidget *parent) setAcceptDrops(true); slotThemeChanged(); - tqsetSizePolicy(TQSizePolicy::Expanding, TQSizePolicy::Expanding); + setSizePolicy(TQSizePolicy::Expanding, TQSizePolicy::Expanding); d->cornerButton = new TQToolButton(this); d->cornerButton->setIconSet(SmallIcon("move")); @@ -725,7 +725,7 @@ void LightTablePreview::contentsDropEvent(TQDropEvent *e) } else if(TagDrag::canDecode(e)) { - TQByteArray ba = e->tqencodedData("digikam/tag-id"); + TQByteArray ba = e->encodedData("digikam/tag-id"); TQDataStream ds(ba, IO_ReadOnly); int tagID; ds >> tagID; |