From: Ilkka Ollakka Date: Tue, 18 Aug 2009 11:53:04 +0000 (+0300) Subject: qt4: enable dragging from everywhere X-Git-Tag: 1.1.0-ff~4281 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=882d27ade99d0163b28aaa8d410ba91b12c499dd;p=vlc qt4: enable dragging from everywhere This enables drag items from service discovery, I don't see why user shouldn't be allowed to drag his/her favorite shoutcast/other item to medialibrary or playlist from service-discovery lists. --- diff --git a/modules/gui/qt4/components/playlist/playlist_model.cpp b/modules/gui/qt4/components/playlist/playlist_model.cpp index 442e753e4d..557e54dc01 100644 --- a/modules/gui/qt4/components/playlist/playlist_model.cpp +++ b/modules/gui/qt4/components/playlist/playlist_model.cpp @@ -168,8 +168,8 @@ Qt::ItemFlags PLModel::flags( const QModelIndex &index ) const PL_UNLOCK; - flags |= Qt::ItemIsDragEnabled; } + flags |= Qt::ItemIsDragEnabled; return flags; }