Fix warning.

Change-Id: If83dd6afe039a07b39034e724d78bfc1e5138552
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
This commit is contained in:
Christian Kandeler
2012-07-12 15:42:58 +02:00
committed by Eike Ziller
parent 1d27304628
commit cbce4389a5

View File

@@ -91,7 +91,6 @@ ResourceEditorW::ResourceEditorW(const Core::Context &context,
setContext(context);
setWidget(m_resourceEditor);
Core::ActionManager * const actionManager = Core::ICore::actionManager();
Core::CommandButton *refreshButton = new Core::CommandButton(Constants::REFRESH, m_toolBar);
refreshButton->setIcon(QIcon(QLatin1String(":/texteditor/images/finddocuments.png")));
connect(refreshButton, SIGNAL(clicked()), this, SLOT(onRefresh()));