Skip to content
Permalink
Browse files

browser double click removed

  • Loading branch information
blazek committed May 18, 2011
1 parent 0797640 commit 215d50b4db4996098d43a859e6357d17ffe89784
@@ -250,7 +250,7 @@ void QgsBrowser::itemDoubleClicked(const QModelIndex& index)
{
QgsDataItem* ptr = (QgsDataItem*) index.internalPointer();

ptr->doubleClick();
// Currently doing nothing
qDebug("doubleclicked: %d %d %s", index.row(), index.column(), ptr->name().toAscii().data());
}

@@ -68,11 +68,6 @@ QPixmap QgsDataItem::getThemePixmap( const QString theName )
}
}

void QgsDataItem::doubleClick()
{

}

void QgsDataItem::emitBeginInsertItems( QgsDataItem* parent, int first, int last )
{
emit beginInsertItems ( parent, first, last );
@@ -104,7 +104,6 @@ class CORE_EXPORT QgsDataItem : public QObject
QIcon mIcon;

public slots:
virtual void doubleClick();
void emitBeginInsertItems( QgsDataItem* parent, int first, int last );
void emitEndInsertItems();
void emitBeginRemoveItems( QgsDataItem* parent, int first, int last );
@@ -3216,14 +3216,6 @@ QVector<QgsDataItem*>QgsWMSRootItem::createChildren()
return connections;
}

void QgsWMSRootItem::doubleClick()
{
QgsWMSSourceSelect *select = new QgsWMSSourceSelect(0,0,true);
select->exec();
delete select;

refresh();
}
QWidget * QgsWMSRootItem::paramWidget()
{
QgsWMSSourceSelect *select = new QgsWMSSourceSelect(0,0,true,true);
@@ -1006,7 +1006,6 @@ class QgsWMSRootItem : public QgsDataCollectionItem

QVector<QgsDataItem*> createChildren();

virtual void doubleClick();
virtual QWidget * paramWidget();

public slots:

0 comments on commit 215d50b

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