Skip to content
Permalink
Browse files

Allow dragging files from browser dock

  • Loading branch information
wonder-sk committed Jul 28, 2011
1 parent 6d5c957 commit 68816cd6cb9aa204b8026d0b538b53e69a0ff8d9
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/app/qgsbrowserdockwidget.cpp
@@ -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& ) ) );

0 comments on commit 68816cd

Please sign in to comment.
You can’t perform that action at this time.