forked from qt-creator/qt-creator
debugger: use saved "resize columns to contents" settings
Change-Id: I88d50205d6ba626e0b4bf66879271fafab81e8cb Reviewed-by: con Task-number: QTCREATORBUG-5320 Reviewed-on: http://codereview.qt.nokia.com/1379 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
This commit is contained in:
@@ -2584,7 +2584,9 @@ void DebuggerPluginPrivate::extensionsInitialized()
|
||||
ICore *core = ICore::instance();
|
||||
QTC_ASSERT(core, return);
|
||||
m_coreSettings = core->settings();
|
||||
|
||||
m_debuggerSettings = new DebuggerSettings(m_coreSettings);
|
||||
m_debuggerSettings->readSettings();
|
||||
|
||||
connect(core, SIGNAL(coreAboutToClose()), this, SLOT(coreShutdown()));
|
||||
|
||||
@@ -2776,8 +2778,6 @@ void DebuggerPluginPrivate::extensionsInitialized()
|
||||
m_commonOptionsPage = new CommonOptionsPage(m_globalDebuggerOptions);
|
||||
m_plugin->addAutoReleasedObject(m_commonOptionsPage);
|
||||
|
||||
m_debuggerSettings->readSettings();
|
||||
|
||||
// Do not fail to load the whole plugin if something goes wrong here.
|
||||
QString errorMessage;
|
||||
if (!parseArguments(m_arguments, &m_cmdLineEnabledEngines, &errorMessage)) {
|
||||
|
||||
Reference in New Issue
Block a user