debugger: sort entries in Windows->Views the same way as in the dock context menus

Task-number: QTCREATORBUG-6179
Change-Id: I1bc02ebce6de7ff5c12d7baf7c585a414f3972d5
Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
hjk
2012-01-12 17:04:14 +01:00
committed by hjk
parent 3b019fe25a
commit 47fedc3d8a
3 changed files with 20 additions and 2 deletions

View File

@@ -3025,6 +3025,8 @@ void DebuggerPluginPrivate::extensionsInitialized()
dock = m_mainWindow->createDockWidget(CppLanguage, localsAndWatchers);
dock->setProperty(DOCKWIDGET_DEFAULT_AREA, Qt::RightDockWidgetArea);
m_mainWindow->addStagedMenuEntries();
// Do not fail to load the whole plugin if something goes wrong here.
QString errorMessage;
if (!parseArguments(m_arguments, &m_cmdLineEnabledEngines, &errorMessage)) {