summaryrefslogtreecommitdiff
path: root/src/plugins/imageviewer
diff options
context:
space:
mode:
authorDaniel Teske <daniel.teske@digia.com>2014-05-06 17:35:59 +0200
committerDaniel Teske <daniel.teske@digia.com>2014-05-08 14:11:13 +0200
commit240bc8fea51b4dd0020f1eff370a3c1bcc90d6b6 (patch)
treea39314a4795665a38b1570aeed0894a0d25fcacf /src/plugins/imageviewer
parenteb2cbae7a3e8064c5293f7f2c4a44a8e097166b9 (diff)
downloadqt-creator-240bc8fea51b4dd0020f1eff370a3c1bcc90d6b6.tar.gz
ImageViewerPlugin: Remove useless code
Change-Id: I4e475df102638d5c8895b14b8bdecfacd94a565b Reviewed-by: Eike Ziller <eike.ziller@digia.com>
Diffstat (limited to 'src/plugins/imageviewer')
-rw-r--r--src/plugins/imageviewer/imageviewerplugin.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/plugins/imageviewer/imageviewerplugin.cpp b/src/plugins/imageviewer/imageviewerplugin.cpp
index 09213fa128..56e5d1ae8b 100644
--- a/src/plugins/imageviewer/imageviewerplugin.cpp
+++ b/src/plugins/imageviewer/imageviewerplugin.cpp
@@ -52,9 +52,6 @@ bool ImageViewerPlugin::initialize(const QStringList &arguments, QString *errorM
return false;
m_factory = new ImageViewerFactory(this);
- Aggregation::Aggregate *aggregate = new Aggregation::Aggregate;
- aggregate->add(m_factory);
-
addAutoReleasedObject(m_factory);
return true;
}