forked from qt-creator/qt-creator
Qml Profilder Views: Make consistent with other views
Use double click on double click platforms, fix keyboard activation Change-Id: I36891fb2f733684a1a5c3787e0682cb9ddccb0d3 Reviewed-by: Ulf Hermann <ulf.hermann@digia.com>
This commit is contained in:
@@ -291,7 +291,7 @@ QV8ProfilerEventsMainView::QV8ProfilerEventsMainView(QWidget *parent,
|
||||
|
||||
d->m_model = new QStandardItemModel(this);
|
||||
setModel(d->m_model);
|
||||
connect(this,SIGNAL(clicked(QModelIndex)), this,SLOT(jumpToItem(QModelIndex)));
|
||||
connect(this, SIGNAL(activated(QModelIndex)), this, SLOT(jumpToItem(QModelIndex)));
|
||||
|
||||
d->m_v8Model = v8Model;
|
||||
connect(d->m_v8Model, SIGNAL(changed()), this, SLOT(buildModel()));
|
||||
@@ -631,7 +631,7 @@ QV8ProfilerEventRelativesView::QV8ProfilerEventRelativesView(QV8ProfilerDataMode
|
||||
updateHeader();
|
||||
setSortingEnabled(false);
|
||||
|
||||
connect(this, SIGNAL(clicked(QModelIndex)), this, SLOT(jumpToItem(QModelIndex)));
|
||||
connect(this, SIGNAL(activated(QModelIndex)), this, SLOT(jumpToItem(QModelIndex)));
|
||||
}
|
||||
|
||||
QV8ProfilerEventRelativesView::~QV8ProfilerEventRelativesView()
|
||||
|
||||
Reference in New Issue
Block a user