Skip to content
Permalink
Browse files
Merge pull request #1277 from simonsonc/mime-format
Replace deprecated provides() with hasFormat()
  • Loading branch information
wonder-sk committed Mar 31, 2014
2 parents 04d7169 + 3e3f30a commit 3aedeff087c692bf26e0ef1c14345e1ee0d44ecc
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/app/qgsbrowserdockwidget.cpp
@@ -76,7 +76,7 @@ class QgsBrowserTreeView : public QTreeView

QTreeView::dragMoveEvent( e );

if ( !e->provides( "application/x-vnd.qgis.qgis.uri" ) )
if ( !e->mimeData()->hasFormat( "application/x-vnd.qgis.qgis.uri" ) )
{
e->ignore();
return;

0 comments on commit 3aedeff

Please sign in to comment.