Don't use the MiniSplitter in the debug mode

It looks out of place since the virtual splitters coming from the
QMainWindow are not mini splitters.

Reviewed-by: Lasse Holmstedt
This commit is contained in:
Thorbjørn Lindeijer
2010-02-25 12:48:46 +01:00
parent a8b3ec5963
commit 34c1ae1fdb

View File

@@ -62,7 +62,6 @@
# include "shared/peutils.h"
#endif
#include <coreplugin/minisplitter.h>
#include <coreplugin/icore.h>
#include <coreplugin/editormanager/editormanager.h>
#include <utils/qtcassert.h>
@@ -581,7 +580,7 @@ void DebuggerManager::init()
d->m_threadsDock = uiSwitcher->createDockWidget(LANG_CPP, d->m_threadsWindow);
QSplitter *localsAndWatchers = new Core::MiniSplitter(Qt::Vertical);
QSplitter *localsAndWatchers = new QSplitter(Qt::Vertical);
localsAndWatchers->setWindowTitle(d->m_localsWindow->windowTitle());
localsAndWatchers->addWidget(d->m_localsWindow);
localsAndWatchers->addWidget(d->m_watchersWindow);