diff options
author | hjk <hjk121@nokiamail.com> | 2014-07-23 16:57:16 +0200 |
---|---|---|
committer | hjk <hjk121@nokiamail.com> | 2014-07-24 10:32:15 +0200 |
commit | b8adc786157b81b0400cf701d02694a380d3e780 (patch) | |
tree | ad93eb73f67db5668692a4b47e8dc514c5b22539 /src/plugins/valgrind | |
parent | 7bb3f728ef583c7ae9a6717a3816f785a914c9c2 (diff) | |
download | qt-creator-b8adc786157b81b0400cf701d02694a380d3e780.tar.gz |
Analyzer: Use a more common default value for the initial dock area
Change-Id: I8449d7e540d715ffc1fbcc46b21a1a4ea7d740ab
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
Diffstat (limited to 'src/plugins/valgrind')
-rw-r--r-- | src/plugins/valgrind/callgrindtool.cpp | 12 | ||||
-rw-r--r-- | src/plugins/valgrind/memchecktool.cpp | 3 |
2 files changed, 4 insertions, 11 deletions
diff --git a/src/plugins/valgrind/callgrindtool.cpp b/src/plugins/valgrind/callgrindtool.cpp index 5d034becff..6c04735e93 100644 --- a/src/plugins/valgrind/callgrindtool.cpp +++ b/src/plugins/valgrind/callgrindtool.cpp @@ -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); diff --git a/src/plugins/valgrind/memchecktool.cpp b/src/plugins/valgrind/memchecktool.cpp index 74f787a396..d83b1cb826 100644 --- a/src/plugins/valgrind/memchecktool.cpp +++ b/src/plugins/valgrind/memchecktool.cpp @@ -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); |