Skip to content

Commit

Permalink
Allow dragging files from browser dock
Browse files Browse the repository at this point in the history
  • Loading branch information
wonder-sk committed Jul 28, 2011
1 parent 6d5c957 commit 68816cd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/app/qgsbrowserdockwidget.cpp
Expand Up @@ -15,6 +15,8 @@ QgsBrowserDockWidget::QgsBrowserDockWidget( QWidget * parent ) :
setWindowTitle( tr( "Browser" ) );

mBrowserView = new QTreeView( this );
mBrowserView->setDragEnabled( true );
mBrowserView->setDragDropMode( QTreeView::DragOnly );
setWidget( mBrowserView );

//connect( mBrowserView, SIGNAL( clicked( const QModelIndex& ) ), this, SLOT( itemClicked( const QModelIndex& ) ) );
Expand Down

0 comments on commit 68816cd

Please sign in to comment.