summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEmanoil Kotsev <deloptes@gmail.com>2016-03-26 19:02:27 +0100
committerSlávek Banko <slavek.banko@axis.cz>2016-04-09 15:58:08 +0200
commit04ce35433c2b98ac74d1ddf10a0233dece50eac6 (patch)
treea978d73b24839d084c64eb5f27f2f253b856c77f
parentd7989dd440cad933b98ccf953cdeac29a335c831 (diff)
downloadkplayer-04ce35433c2b98ac74d1ddf10a0233dece50eac6.tar.gz
kplayer-04ce35433c2b98ac74d1ddf10a0233dece50eac6.zip
Fix FTBFS due to unavailable qt_dnd_manager
Signed-off-by: Emanoil Kotsev <deloptes@gmail.com>
-rw-r--r--kplayer/kplayernodeview.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/kplayer/kplayernodeview.cpp b/kplayer/kplayernodeview.cpp
index 824ef74..dc08a30 100644
--- a/kplayer/kplayernodeview.cpp
+++ b/kplayer/kplayernodeview.cpp
@@ -1293,7 +1293,8 @@ void KPlayerNodeView::findDrop (const TQPoint& pos, TQListViewItem*& parent, TQL
after = 0;
}
-extern TQDragManager* qt_dnd_manager;
+// TQt is built with "hidden visibility" and therefore qt_dnd_manager is not available.
+// extern TQDragManager* qt_dnd_manager;
bool KPlayerNodeView::acceptDrag (TQDropEvent* event) const
{
@@ -1393,7 +1394,7 @@ bool KPlayerNodeView::acceptDrag (TQDropEvent* event) const
else if ( kPlayerSettings() -> anyShift() )
event -> setAction (TQDropEvent::Move);
event -> acceptAction();
- qt_dnd_manager -> killTimers();
+ // qt_dnd_manager -> killTimers();
return true;
}
}
@@ -1415,7 +1416,7 @@ void KPlayerNodeView::contentsDragMoveEvent (TQDragMoveEvent* event)
TDEListView::contentsDragMoveEvent (event);
if ( event -> isAccepted() )
event -> accept (TQRect (TQCursor::pos(), TQCursor::pos()));
- qt_dnd_manager -> killTimers();
+ // qt_dnd_manager -> killTimers();
}
void KPlayerNodeView::contentsDragEnterEvent (TQDragEnterEvent* event)