summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@digia.com>2014-01-07 13:57:58 +0100
committerOswald Buddenhagen <oswald.buddenhagen@digia.com>2014-01-07 19:49:35 +0100
commit9f46078afea181dda723f15de7f2d7f9fc5c303c (patch)
tree70c5aa866e161f6c7232e288795119c79bbcae47
parent9fd21d8785663be91aaea5c43288d838b49d110e (diff)
downloadqt-creator-9f46078afea181dda723f15de7f2d7f9fc5c303c.tar.gz
purge dead code
Change-Id: Iddd3ddd1a1128fa7f8b147fe56a1ce08f14b7075 Reviewed-by: Daniel Teske <daniel.teske@digia.com>
-rw-r--r--src/plugins/qmakeprojectmanager/qmakeprojectmanager.cpp27
-rw-r--r--src/plugins/qmakeprojectmanager/qmakeprojectmanager.h3
2 files changed, 0 insertions, 30 deletions
diff --git a/src/plugins/qmakeprojectmanager/qmakeprojectmanager.cpp b/src/plugins/qmakeprojectmanager/qmakeprojectmanager.cpp
index aab62a4ec4..228ffe5e15 100644
--- a/src/plugins/qmakeprojectmanager/qmakeprojectmanager.cpp
+++ b/src/plugins/qmakeprojectmanager/qmakeprojectmanager.cpp
@@ -55,14 +55,6 @@ using namespace ProjectExplorer;
using namespace QmakeProjectManager;
using namespace QmakeProjectManager::Internal;
-// Known file types of a Qt 4 project
-static const char *qmakeFileTypes[] = {
- "CppHeaderFiles",
- "CppSourceFiles",
- "Qt4FormFiles",
- "Qt4ResourceFiles"
-};
-
QmakeManager::QmakeManager(QmakeProjectManagerPlugin *plugin)
: m_plugin(plugin),
m_contextNode(0),
@@ -305,22 +297,3 @@ void QmakeManager::handleSubDirContextMenu(QmakeManager::Action action, bool isF
bc->setSubNodeBuild(0);
bc->setFileNodeBuild(0);
}
-
-QString QmakeManager::fileTypeId(ProjectExplorer::FileType type)
-{
- switch (type) {
- case HeaderType:
- return QLatin1String(qmakeFileTypes[0]);
- case SourceType:
- return QLatin1String(qmakeFileTypes[1]);
- case FormType:
- return QLatin1String(qmakeFileTypes[2]);
- case ResourceType:
- return QLatin1String(qmakeFileTypes[3]);
- case UnknownFileType:
- default:
- break;
- }
- return QString();
-}
-
diff --git a/src/plugins/qmakeprojectmanager/qmakeprojectmanager.h b/src/plugins/qmakeprojectmanager/qmakeprojectmanager.h
index 7137bd2eae..a4dd9b621f 100644
--- a/src/plugins/qmakeprojectmanager/qmakeprojectmanager.h
+++ b/src/plugins/qmakeprojectmanager/qmakeprojectmanager.h
@@ -76,9 +76,6 @@ public:
ProjectExplorer::FileNode *contextFile() const;
void setContextFile(ProjectExplorer::FileNode *file);
- // Return the id string of a file
- static QString fileTypeId(ProjectExplorer::FileType type);
-
enum Action { BUILD, REBUILD, CLEAN };
public slots: