forked from qt-creator/qt-creator
CMake: Inline method that is used only once
Change-Id: I1e7d728d0e35f9709b6e04cb2332ebc4487fd0f2 Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
This commit is contained in:
@@ -111,11 +111,7 @@ CMakeOpenProjectWizard::CMakeOpenProjectWizard(QWidget *parent, CMakeManager *cm
|
|||||||
|
|
||||||
addPage(new CMakeRunPage(this, rmode, info->buildDirectory.toString(), info->arguments,
|
addPage(new CMakeRunPage(this, rmode, info->buildDirectory.toString(), info->arguments,
|
||||||
m_kit->displayName(), info->displayName));
|
m_kit->displayName(), info->displayName));
|
||||||
init();
|
|
||||||
}
|
|
||||||
|
|
||||||
void CMakeOpenProjectWizard::init()
|
|
||||||
{
|
|
||||||
setWindowTitle(tr("CMake Wizard"));
|
setWindowTitle(tr("CMake Wizard"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -93,7 +93,6 @@ public:
|
|||||||
bool compatibleKitExist() const;
|
bool compatibleKitExist() const;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void init();
|
|
||||||
bool hasInSourceBuild() const;
|
bool hasInSourceBuild() const;
|
||||||
CMakeManager *m_cmakeManager;
|
CMakeManager *m_cmakeManager;
|
||||||
QString m_buildDirectory;
|
QString m_buildDirectory;
|
||||||
|
Reference in New Issue
Block a user