Skip to content

Commit

Permalink
Merge pull request #1277 from simonsonc/mime-format
Browse files Browse the repository at this point in the history
Replace deprecated provides() with hasFormat()
  • Loading branch information
wonder-sk committed Mar 31, 2014
2 parents 04d7169 + 3e3f30a commit 3aedeff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/qgsbrowserdockwidget.cpp
Expand Up @@ -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;
Expand Down

0 comments on commit 3aedeff

Please sign in to comment.