forked from qt-creator/qt-creator
Fix initial layout in analyze mode.
Task-number: QTCREATORBUG-5414 Change-Id: I4ac8d150f20e35a769e6f7f13db420d81e93e7e2 Reviewed-on: http://codereview.qt.nokia.com/1552 Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
@@ -76,6 +76,7 @@
|
||||
#include <QtGui/QTabWidget>
|
||||
#include <QtGui/QToolButton>
|
||||
#include <QtGui/QMessageBox>
|
||||
#include <QtGui/QDockWidget>
|
||||
|
||||
using namespace Analyzer;
|
||||
using namespace QmlProfiler::Internal;
|
||||
@@ -295,6 +296,11 @@ QWidget *QmlProfilerTool::createWidgets()
|
||||
QDockWidget *callerDock = AnalyzerManager::createDockWidget
|
||||
(this, tr("Callers"), d->m_callerView, Qt::BottomDockWidgetArea);
|
||||
|
||||
eventsDock->show();
|
||||
timelineDock->show();
|
||||
calleeDock->show();
|
||||
callerDock->show();
|
||||
|
||||
mw->splitDockWidget(mw->toolBarDockWidget(), eventsDock, Qt::Vertical);
|
||||
mw->tabifyDockWidget(eventsDock, timelineDock);
|
||||
mw->tabifyDockWidget(timelineDock, calleeDock);
|
||||
|
||||
Reference in New Issue
Block a user