CVS commit by amantia: Port D&D fix. M +4 -1 templatestreeview.cpp 1.53.2.4 --- quanta/quanta/treeviews/templatestreeview.cpp #1.53.2.3:1.53.2.4 @@ -143,4 +143,7 @@ TemplatesTreeView::TemplatesTreeView(con setAcceptDrops(true); + connect(this, SIGNAL(dropped(KURL::List&, KURL&)), + this, SLOT(slotDropped(KURL::List&, KURL&))); + setSelectionMode(QListView::Single); setDropHighlighter(true); @@ -311,5 +314,5 @@ QDragObject * TemplatesTreeView::dragObj { // don't drag folders - if ( ! currentKFileTreeViewItem() || ! currentKFileTreeViewItem()->isDir() ) return 0; + if ( ! currentKFileTreeViewItem() || currentKFileTreeViewItem()->isDir() ) return 0; readDirInfo();