diff options
author | Eike Ziller <eike.ziller@theqtcompany.com> | 2016-01-14 15:01:05 +0100 |
---|---|---|
committer | Eike Ziller <eike.ziller@theqtcompany.com> | 2016-01-19 07:55:56 +0000 |
commit | fc485e6b86c5751b022c5d4f0f2bd6c8e1ab54ba (patch) | |
tree | 560339df9c6f27621975fba1ff11bb181ada0501 /src/plugins/bineditor | |
parent | 24f5bc7d3f39ff9f322be359f76e8c1fd2e68302 (diff) | |
download | qt-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/bineditor')
-rw-r--r-- | src/plugins/bineditor/bineditorplugin.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/plugins/bineditor/bineditorplugin.cpp b/src/plugins/bineditor/bineditorplugin.cpp index db12a5044f..abda8da3e6 100644 --- a/src/plugins/bineditor/bineditorplugin.cpp +++ b/src/plugins/bineditor/bineditorplugin.cpp @@ -339,10 +339,6 @@ private slots: public: - QString fallbackSaveAsPath() const override { return QString(); } - - QString fallbackSaveAsFileName() const override { return QString(); } - bool isModified() const override { return isTemporary()/*e.g. memory view*/ ? false |