summaryrefslogtreecommitdiff
path: root/src/plugins/imageviewer
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@digia.com>2013-07-12 15:36:29 +0200
committerEike Ziller <eike.ziller@digia.com>2013-07-12 16:43:54 +0200
commit624d9e2c4cd9c0d5d29a0e76e91a9e587b051010 (patch)
treea7a2561c20e34bd22f79271d311ce40f3d8bbe04 /src/plugins/imageviewer
parent3cde52846eceba5ee89b2c1d6816d1b97add1ccb (diff)
downloadqt-creator-624d9e2c4cd9c0d5d29a0e76e91a9e587b051010.tar.gz
Move IEditor::isTemporary to IDocument
It's a property of the document implementation, not of the specific editor instance working on it. Change-Id: I5c3dd054e21b646e2d94b891916a096d045923f8 Reviewed-by: hjk <hjk121@nokiamail.com> Reviewed-by: Eike Ziller <eike.ziller@digia.com>
Diffstat (limited to 'src/plugins/imageviewer')
-rw-r--r--src/plugins/imageviewer/imageviewer.cpp5
-rw-r--r--src/plugins/imageviewer/imageviewer.h1
2 files changed, 0 insertions, 6 deletions
diff --git a/src/plugins/imageviewer/imageviewer.cpp b/src/plugins/imageviewer/imageviewer.cpp
index 0bc59e5b1e..3604c1195a 100644
--- a/src/plugins/imageviewer/imageviewer.cpp
+++ b/src/plugins/imageviewer/imageviewer.cpp
@@ -148,11 +148,6 @@ Core::Id ImageViewer::id() const
return Core::Id(Constants::IMAGEVIEWER_ID);
}
-bool ImageViewer::isTemporary() const
-{
- return false;
-}
-
QWidget *ImageViewer::toolBar()
{
return d->toolbar;
diff --git a/src/plugins/imageviewer/imageviewer.h b/src/plugins/imageviewer/imageviewer.h
index 1ae2e4c4e6..4ad5cbc853 100644
--- a/src/plugins/imageviewer/imageviewer.h
+++ b/src/plugins/imageviewer/imageviewer.h
@@ -58,7 +58,6 @@ public:
bool open(QString *errorString, const QString &fileName, const QString &realFileName);
Core::IDocument *document();
Core::Id id() const;
- bool isTemporary() const;
QWidget *toolBar();
public slots: