Skip to content

Commit 3aedeff

Browse files
committedMar 31, 2014
Merge pull request #1277 from simonsonc/mime-format
Replace deprecated provides() with hasFormat()
2 parents 04d7169 + 3e3f30a commit 3aedeff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/app/qgsbrowserdockwidget.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ class QgsBrowserTreeView : public QTreeView
7676

7777
QTreeView::dragMoveEvent( e );
7878

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

0 commit comments

Comments
 (0)
Please sign in to comment.