summaryrefslogtreecommitdiff
path: root/src/plugins/qmakeprojectmanager
diff options
context:
space:
mode:
authorTobias Hunger <tobias.hunger@qt.io>2018-02-16 12:45:43 +0100
committerTobias Hunger <tobias.hunger@qt.io>2018-02-19 13:22:21 +0000
commit997ece43615d98b213b9f9306a4b0c51726db01e (patch)
tree70e06bd31f1d9669c5c06a2e167977374eb9909f /src/plugins/qmakeprojectmanager
parent775b235f45673e9098a28edf441ba8cf7f4e19db (diff)
downloadqt-creator-997ece43615d98b213b9f9306a4b0c51726db01e.tar.gz
Project: Remove unused Project::requiresTargetPanel(...)
Change-Id: I7a5298edefd7e26841c4070be23534dd33d093cb Reviewed-by: hjk <hjk@qt.io>
Diffstat (limited to 'src/plugins/qmakeprojectmanager')
-rw-r--r--src/plugins/qmakeprojectmanager/qmakeproject.cpp5
-rw-r--r--src/plugins/qmakeprojectmanager/qmakeproject.h2
2 files changed, 0 insertions, 7 deletions
diff --git a/src/plugins/qmakeprojectmanager/qmakeproject.cpp b/src/plugins/qmakeprojectmanager/qmakeproject.cpp
index eece4ecc84..0c1e7982c5 100644
--- a/src/plugins/qmakeprojectmanager/qmakeproject.cpp
+++ b/src/plugins/qmakeprojectmanager/qmakeproject.cpp
@@ -1051,11 +1051,6 @@ void QmakeProject::configureAsExampleProject(const QSet<Core::Id> &platforms)
qDeleteAll(infoList);
}
-bool QmakeProject::requiresTargetPanel() const
-{
- return !targets().isEmpty();
-}
-
// All the Qmake run configurations should share code.
// This is a rather suboptimal way to do that for disabledReason()
// but more pratical then duplicated the code everywhere
diff --git a/src/plugins/qmakeprojectmanager/qmakeproject.h b/src/plugins/qmakeprojectmanager/qmakeproject.h
index 743be56ce7..c5a9fb32dc 100644
--- a/src/plugins/qmakeprojectmanager/qmakeproject.h
+++ b/src/plugins/qmakeprojectmanager/qmakeproject.h
@@ -109,8 +109,6 @@ public:
void configureAsExampleProject(const QSet<Core::Id> &platforms) final;
- bool requiresTargetPanel() const final;
-
/// \internal
QString disabledReasonForRunConfiguration(const Utils::FileName &proFilePath);