diff options
author | Daniel Teske <daniel.teske@digia.com> | 2014-05-06 17:35:59 +0200 |
---|---|---|
committer | Daniel Teske <daniel.teske@digia.com> | 2014-05-08 14:11:13 +0200 |
commit | 240bc8fea51b4dd0020f1eff370a3c1bcc90d6b6 (patch) | |
tree | a39314a4795665a38b1570aeed0894a0d25fcacf /src/plugins/imageviewer | |
parent | eb2cbae7a3e8064c5293f7f2c4a44a8e097166b9 (diff) | |
download | qt-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.cpp | 3 |
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; } |