summaryrefslogtreecommitdiff
path: root/src/plugins/imageviewer
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@digia.com>2013-05-30 16:20:17 +0200
committerDavid Schulz <david.schulz@digia.com>2013-05-31 13:53:09 +0200
commitd2571548f81f3249f00a22b61d03ac9d03fcf058 (patch)
treeeeef6384e56fe8d8adb8eebd9202fa604645a1ac /src/plugins/imageviewer
parent9647ce6932aaebc2c096544eacca7bb8ec56e7de (diff)
downloadqt-creator-d2571548f81f3249f00a22b61d03ac9d03fcf058.tar.gz
Remove unneeded IEditorFactor::open re-implementations.
Change-Id: I261bc1ee09a2c22155e4874a4429a868d837c256 Reviewed-by: hjk <hjk121@nokiamail.com> Reviewed-by: David Schulz <david.schulz@digia.com>
Diffstat (limited to 'src/plugins/imageviewer')
-rw-r--r--src/plugins/imageviewer/imageviewerfactory.cpp5
-rw-r--r--src/plugins/imageviewer/imageviewerfactory.h1
2 files changed, 0 insertions, 6 deletions
diff --git a/src/plugins/imageviewer/imageviewerfactory.cpp b/src/plugins/imageviewer/imageviewerfactory.cpp
index 55d501c5c4..d925ea6cc9 100644
--- a/src/plugins/imageviewer/imageviewerfactory.cpp
+++ b/src/plugins/imageviewer/imageviewerfactory.cpp
@@ -103,11 +103,6 @@ QString ImageViewerFactory::displayName() const
return qApp->translate("OpenWith::Editors", Constants::IMAGEVIEWER_DISPLAY_NAME);
}
-Core::IDocument *ImageViewerFactory::open(const QString & /*fileName*/)
-{
- return 0;
-}
-
void ImageViewerFactory::extensionsInitialized()
{
d->actionHandler->createActions();
diff --git a/src/plugins/imageviewer/imageviewerfactory.h b/src/plugins/imageviewer/imageviewerfactory.h
index 427eacadd4..77d372a265 100644
--- a/src/plugins/imageviewer/imageviewerfactory.h
+++ b/src/plugins/imageviewer/imageviewerfactory.h
@@ -50,7 +50,6 @@ public:
QStringList mimeTypes() const;
Core::Id id() const;
QString displayName() const;
- Core::IDocument *open(const QString &fileName);
void extensionsInitialized();