summaryrefslogtreecommitdiffstats
path: root/src/kbfxplasmacanvasview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/kbfxplasmacanvasview.cpp')
-rw-r--r--src/kbfxplasmacanvasview.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/kbfxplasmacanvasview.cpp b/src/kbfxplasmacanvasview.cpp
index d50e33b..57b3106 100644
--- a/src/kbfxplasmacanvasview.cpp
+++ b/src/kbfxplasmacanvasview.cpp
@@ -245,8 +245,10 @@ KbfxPlasmaCanvasView::startDrag ()
qDebug ( "null source" );
return;
}
+ TQStrList uriList;
+ uriList.append(src->contentPath().ascii());
TQUriDrag *drag =
- new TQUriDrag ( TQStrList ( src->contentPath () ), this,
+ new TQUriDrag ( uriList, this,
src->name ().ascii () );
drag->setFileNames ( TQStringList ( src->contentPath () ) );
drag->setPixmap ( m_currentItem->dragPixmap () );