forked from qt-creator/qt-creator
Android: Use Qt5-style connects
The heavy lifting was done by clazy. Change-Id: Id09b62b7b9812d9c0981202c257d18387a8b09d9 Reviewed-by: BogDan Vatra <bogdan@kdab.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
c3acbc46ed
commit
88dfa84fc6
@@ -42,7 +42,8 @@ AndroidManifestEditor::AndroidManifestEditor(AndroidManifestEditorWidget *editor
|
||||
{
|
||||
m_toolBar = new QToolBar(editorWidget);
|
||||
m_actionGroup = new QActionGroup(this);
|
||||
connect(m_actionGroup, SIGNAL(triggered(QAction*)), this, SLOT(changeEditorPage(QAction*)));
|
||||
connect(m_actionGroup, &QActionGroup::triggered,
|
||||
this, &AndroidManifestEditor::changeEditorPage);
|
||||
|
||||
QAction *generalAction = m_toolBar->addAction(tr("General"));
|
||||
generalAction->setData(AndroidManifestEditorWidget::General);
|
||||
|
||||
Reference in New Issue
Block a user