summaryrefslogtreecommitdiff
path: root/src/plugins/autotoolsprojectmanager
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@theqtcompany.com>2016-01-14 15:01:05 +0100
committerEike Ziller <eike.ziller@theqtcompany.com>2016-01-19 07:55:56 +0000
commitfc485e6b86c5751b022c5d4f0f2bd6c8e1ab54ba (patch)
tree560339df9c6f27621975fba1ff11bb181ada0501 /src/plugins/autotoolsprojectmanager
parent24f5bc7d3f39ff9f322be359f76e8c1fd2e68302 (diff)
downloadqt-creator-fc485e6b86c5751b022c5d4f0f2bd6c8e1ab54ba.tar.gz
Add default implementation for IDocument::fallbackSaveAs(Path|FileName)
The methods are only relevant for documents without a filePath, and there was a mix of different irrelevant implementations present in subclasses. Change-Id: I4f57d306e5ddd913974cfe6ed0b4db062eb907a1 Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
Diffstat (limited to 'src/plugins/autotoolsprojectmanager')
-rw-r--r--src/plugins/autotoolsprojectmanager/autotoolsprojectfile.cpp10
-rw-r--r--src/plugins/autotoolsprojectmanager/autotoolsprojectfile.h2
2 files changed, 0 insertions, 12 deletions
diff --git a/src/plugins/autotoolsprojectmanager/autotoolsprojectfile.cpp b/src/plugins/autotoolsprojectmanager/autotoolsprojectfile.cpp
index ec735a84d7..c634be41b2 100644
--- a/src/plugins/autotoolsprojectmanager/autotoolsprojectfile.cpp
+++ b/src/plugins/autotoolsprojectmanager/autotoolsprojectfile.cpp
@@ -53,16 +53,6 @@ bool AutotoolsProjectFile::save(QString *errorString, const QString &fileName, b
return false;
}
-QString AutotoolsProjectFile::fallbackSaveAsPath() const
-{
- return QString();
-}
-
-QString AutotoolsProjectFile::fallbackSaveAsFileName() const
-{
- return QString();
-}
-
bool AutotoolsProjectFile::isModified() const
{
return false;
diff --git a/src/plugins/autotoolsprojectmanager/autotoolsprojectfile.h b/src/plugins/autotoolsprojectmanager/autotoolsprojectfile.h
index f0e6b9630b..c30264f73c 100644
--- a/src/plugins/autotoolsprojectmanager/autotoolsprojectfile.h
+++ b/src/plugins/autotoolsprojectmanager/autotoolsprojectfile.h
@@ -58,8 +58,6 @@ public:
AutotoolsProjectFile(const QString &fileName);
bool save(QString *errorString, const QString &fileName, bool autoSave) override;
- QString fallbackSaveAsPath() const override;
- QString fallbackSaveAsFileName() const override;
bool isModified() const override;
bool isSaveAsAllowed() const override;
bool reload(QString *errorString, ReloadFlag flag, ChangeType type) override;