diff --git a/src/plugins/cmakeprojectmanager/cmakeproject.cpp b/src/plugins/cmakeprojectmanager/cmakeproject.cpp
index 49317fdd522a96151231693e9e17a5646ba374d7..acf75f5c61dfab64f1a1f2e7a3f82c1df7525981 100644
--- a/src/plugins/cmakeprojectmanager/cmakeproject.cpp
+++ b/src/plugins/cmakeprojectmanager/cmakeproject.cpp
@@ -84,7 +84,7 @@ QStringList CMakeBuildConfigurationFactory::availableCreationTypes() const
     return QStringList() << "Create";
 }
 
-QString CMakeBuildConfigurationFactory::displayNameForType(const QString &type) const
+QString CMakeBuildConfigurationFactory::displayNameForType(const QString & /* type */) const
 {
     return tr("Create");
 }
diff --git a/src/plugins/genericprojectmanager/genericproject.cpp b/src/plugins/genericprojectmanager/genericproject.cpp
index 2d2870c9f09295dd71186c5c03f9d44f28a55244..03e24d1b6bb971f19038f43d72058f87b5c736a3 100644
--- a/src/plugins/genericprojectmanager/genericproject.cpp
+++ b/src/plugins/genericprojectmanager/genericproject.cpp
@@ -126,7 +126,7 @@ QStringList GenericBuildConfigurationFactory::availableCreationTypes() const
     return QStringList() << "Create";
 }
 
-QString GenericBuildConfigurationFactory::displayNameForType(const QString &type) const
+QString GenericBuildConfigurationFactory::displayNameForType(const QString & /* type */) const
 {
     return tr("Create");
 }
diff --git a/src/plugins/qt4projectmanager/qt4runconfiguration.h b/src/plugins/qt4projectmanager/qt4runconfiguration.h
index d0dc4ab2050dbe07ed9ba5d0bf6b7e1e030658a1..2584fa2853394ec87aded875497ece00c80c4b38 100644
--- a/src/plugins/qt4projectmanager/qt4runconfiguration.h
+++ b/src/plugins/qt4projectmanager/qt4runconfiguration.h
@@ -169,7 +169,6 @@ private slots:
     void usingDyldImageSuffixChanged(bool);
     void baseEnvironmentComboBoxChanged(int index);
 
-    void toggleDetails();
 private:
     void updateSummary();
     Qt4RunConfiguration *m_qt4RunConfiguration;