Commit b8adc786 authored by hjk's avatar hjk

Analyzer: Use a more common default value for the initial dock area

Change-Id: I8449d7e540d715ffc1fbcc46b21a1a4ea7d740ab
Reviewed-by: default avatarEike Ziller <eike.ziller@digia.com>
parent 7bb3f728
......@@ -70,7 +70,7 @@ public:
// Dockwidgets are registered to the main window.
static QDockWidget *createDockWidget(IAnalyzerTool *tool,
QWidget *widget, Qt::DockWidgetArea area = Qt::TopDockWidgetArea);
QWidget *widget, Qt::DockWidgetArea area = Qt::BottomDockWidgetArea);
static Utils::FancyMainWindow *mainWindow();
......
......@@ -127,11 +127,11 @@ void QmlProfilerViewManager::createViews()
d->v8profilerView, SLOT(selectBySourceLocation(QString,int,int)));
QDockWidget *eventsDock = AnalyzerManager::createDockWidget
(d->profilerTool, d->eventsView, Qt::BottomDockWidgetArea);
(d->profilerTool, d->eventsView);
QDockWidget *timelineDock = AnalyzerManager::createDockWidget
(d->profilerTool, d->traceView, Qt::BottomDockWidgetArea);
(d->profilerTool, d->traceView);
QDockWidget *v8profilerDock = AnalyzerManager::createDockWidget
(d->profilerTool, d->v8profilerView, Qt::BottomDockWidgetArea);
(d->profilerTool, d->v8profilerView);
eventsDock->show();
timelineDock->show();
......
......@@ -642,15 +642,9 @@ QWidget *CallgrindToolPrivate::createWidgets()
updateCostFormat();
QDockWidget *callersDock = AnalyzerManager::createDockWidget
(q, m_callersView, Qt::BottomDockWidgetArea);
QDockWidget *flatDock = AnalyzerManager::createDockWidget
(q, m_flatView, Qt::BottomDockWidgetArea);
QDockWidget *calleesDock = AnalyzerManager::createDockWidget
(q, m_calleesView, Qt::BottomDockWidgetArea);
QDockWidget *callersDock = AnalyzerManager::createDockWidget(q, m_callersView);
QDockWidget *flatDock = AnalyzerManager::createDockWidget(q, m_flatView);
QDockWidget *calleesDock = AnalyzerManager::createDockWidget(q, m_calleesView);
QDockWidget *visualizationDock = AnalyzerManager::createDockWidget
(q, m_visualisation, Qt::RightDockWidgetArea);
......
......@@ -366,8 +366,7 @@ QWidget *MemcheckTool::createWidgets()
m_errorView->setObjectName(QLatin1String("Valgrind.MemcheckTool.ErrorView"));
m_errorView->setWindowTitle(tr("Memory Issues"));
QDockWidget *errorDock = AnalyzerManager::createDockWidget
(this, m_errorView, Qt::BottomDockWidgetArea);
QDockWidget *errorDock = AnalyzerManager::createDockWidget(this, m_errorView);
errorDock->show();
mw->splitDockWidget(mw->toolBarDockWidget(), errorDock, Qt::Vertical);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment