From bc74ee33930af92291fd6da2f18d44fcbc9c44b8 Mon Sep 17 00:00:00 2001 From: Kai Koehne Date: Mon, 1 Aug 2011 16:56:31 +0200 Subject: 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 --- src/plugins/qmlprofiler/qmlprofilertool.cpp | 5 ----- 1 file changed, 5 deletions(-) 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 -- cgit v1.2.1