forked from qt-creator/qt-creator
Don't use generic QSettings object.
We should always get the settings via Core interfaces to make sure it will keep working as expected. Change-Id: Ic3e68300ba2a2342a5d6e16ec6696710d7e6d98b Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
@@ -53,6 +53,7 @@
|
||||
|
||||
#include <aggregation/aggregate.h>
|
||||
#include <coreplugin/findplaceholder.h>
|
||||
#include <coreplugin/icore.h>
|
||||
#include <coreplugin/minisplitter.h>
|
||||
#include <find/basetextfind.h>
|
||||
|
||||
@@ -363,7 +364,8 @@ LogWindow::LogWindow(QWidget *parent)
|
||||
m_commandEdit = new QLineEdit(this);
|
||||
m_commandEdit->setFrame(false);
|
||||
m_commandEdit->setObjectName("DebuggerInput");
|
||||
m_commandEdit->setCompleter(new Utils::HistoryCompleter(m_commandEdit));
|
||||
m_commandEdit->setCompleter(new Utils::HistoryCompleter(
|
||||
Core::ICore::instance()->settings(), m_commandEdit));
|
||||
QHBoxLayout *commandBox = new QHBoxLayout;
|
||||
commandBox->addWidget(m_commandLabel);
|
||||
commandBox->addWidget(m_commandEdit);
|
||||
|
||||
Reference in New Issue
Block a user