From: Kai Koehne Date: Mon, 1 Aug 2011 14:56:31 +0000 (+0200) Subject: QmlProfiler: Fix warning about unused variable X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=bc74ee33930af92291fd6da2f18d44fcbc9c44b8;p=qt-creator-jp%2Fqt-creator-jp.git QmlProfiler: Fix warning about unused variable Change-Id: I274b844215eeebb33e81bd7df6b07862286fcefe Reviewed-on: http://codereview.qt.nokia.com/2446 Reviewed-by: Qt Sanity Bot Reviewed-by: Christiaan Janssen --- diff --git a/src/plugins/qmlprofiler/qmlprofilertool.cpp b/src/plugins/qmlprofiler/qmlprofilertool.cpp index 228b3a9689..4d7fb4abca 100644 --- a/src/plugins/qmlprofiler/qmlprofilertool.cpp +++ b/src/plugins/qmlprofiler/qmlprofilertool.cpp @@ -263,11 +263,6 @@ QWidget *QmlProfilerTool::createWidgets() connect(d->m_callerView, SIGNAL(gotoSourceLocation(QString,int)), this, SLOT(gotoSourceLocation(QString,int))); - Core::ICore *core = Core::ICore::instance(); - Core::ActionManager *am = core->actionManager(); - Core::ActionContainer *manalyzer = am->actionContainer(Analyzer::Constants::M_DEBUG_ANALYZER); - const Core::Context globalcontext(Core::Constants::C_GLOBAL); - QDockWidget *eventsDock = AnalyzerManager::createDockWidget (this, tr("Events"), d->m_eventsView, Qt::BottomDockWidgetArea); QDockWidget *timelineDock = AnalyzerManager::createDockWidget