From afb4fb474f23c49691ff3d3a07c5b95cdea93c57 Mon Sep 17 00:00:00 2001 From: Tobias Hunger Date: Tue, 13 Aug 2019 10:27:34 +0200 Subject: [PATCH] Autotools: Remove dead code Change-Id: Ie34b1560992a3466568be80ddc2a234e9011a1ce Reviewed-by: hjk --- src/plugins/autotoolsprojectmanager/autotoolsproject.cpp | 8 -------- src/plugins/autotoolsprojectmanager/autotoolsproject.h | 2 -- 2 files changed, 10 deletions(-) diff --git a/src/plugins/autotoolsprojectmanager/autotoolsproject.cpp b/src/plugins/autotoolsprojectmanager/autotoolsproject.cpp index 6173c33415b..5095dde955f 100644 --- a/src/plugins/autotoolsprojectmanager/autotoolsproject.cpp +++ b/src/plugins/autotoolsprojectmanager/autotoolsproject.cpp @@ -220,14 +220,6 @@ void AutotoolsProject::onFileChanged(const QString &file) loadProjectTree(); } -QStringList AutotoolsProject::buildTargets() const -{ - QStringList targets; - targets.append(QLatin1String("all")); - targets.append(QLatin1String("clean")); - return targets; -} - static QStringList filterIncludes(const QString &absSrc, const QString &absBuild, const QStringList &in) { diff --git a/src/plugins/autotoolsprojectmanager/autotoolsproject.h b/src/plugins/autotoolsprojectmanager/autotoolsproject.h index fcd81d093b8..7338adddb82 100644 --- a/src/plugins/autotoolsprojectmanager/autotoolsproject.h +++ b/src/plugins/autotoolsprojectmanager/autotoolsproject.h @@ -56,8 +56,6 @@ public: explicit AutotoolsProject(const Utils::FilePath &fileName); ~AutotoolsProject() override; - QStringList buildTargets() const; - protected: RestoreResult fromMap(const QVariantMap &map, QString *errorMessage) override;