forked from qt-creator/qt-creator
Port to new connect api
Change-Id: I84834f37dd15108ed8c5fbf5353bcabc4e564f70 Reviewed-by: hjk <hjk@theqtcompany.com> Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
This commit is contained in:
@@ -55,8 +55,8 @@ PluginErrorOverview::PluginErrorOverview(QWidget *parent) :
|
||||
}
|
||||
}
|
||||
|
||||
connect(m_ui->pluginList, SIGNAL(currentItemChanged(QListWidgetItem*,QListWidgetItem*)),
|
||||
this, SLOT(showDetails(QListWidgetItem*)));
|
||||
connect(m_ui->pluginList, &QListWidget::currentItemChanged,
|
||||
this, &PluginErrorOverview::showDetails);
|
||||
|
||||
if (m_ui->pluginList->count() > 0)
|
||||
m_ui->pluginList->setCurrentRow(0);
|
||||
|
||||
Reference in New Issue
Block a user