OSDN Git Service

QmlProfiler: Fix warning about unused variable
authorKai Koehne <kai.koehne@nokia.com>
Mon, 1 Aug 2011 14:56:31 +0000 (16:56 +0200)
committerKai Koehne <kai.koehne@nokia.com>
Tue, 2 Aug 2011 06:27:42 +0000 (08:27 +0200)
Change-Id: I274b844215eeebb33e81bd7df6b07862286fcefe
Reviewed-on: http://codereview.qt.nokia.com/2446
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Christiaan Janssen <christiaan.janssen@nokia.com>
src/plugins/qmlprofiler/qmlprofilertool.cpp

index 228b3a9..4d7fb4a 100644 (file)
@@ -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