[vlc-devel] commit: qt4: enable dragging from everywhere (Ilkka Ollakka )
git version control
git at videolan.org
Tue Aug 18 15:17:52 CEST 2009
vlc | branch: master | Ilkka Ollakka <ileoo at videolan.org> | Tue Aug 18 14:53:04 2009 +0300| [882d27ade99d0163b28aaa8d410ba91b12c499dd] | committer: Ilkka Ollakka
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.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=882d27ade99d0163b28aaa8d410ba91b12c499dd
---
.../gui/qt4/components/playlist/playlist_model.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/gui/qt4/components/playlist/playlist_model.cpp b/modules/gui/qt4/components/playlist/playlist_model.cpp
index 442e753..557e54d 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;
}
More information about the vlc-devel
mailing list