forked from qt-creator/qt-creator
historycompleter: make key explicit
Change-Id: I1560e379639a02a2decf46c4e6b015bd6042c6b7 Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
@@ -343,9 +343,7 @@ LogWindow::LogWindow(QWidget *parent)
|
||||
m_commandLabel = new QLabel(tr("Command:"), this);
|
||||
m_commandEdit = new QLineEdit(this);
|
||||
m_commandEdit->setFrame(false);
|
||||
m_commandEdit->setObjectName(QLatin1String("DebuggerInput"));
|
||||
m_commandEdit->setCompleter(new Utils::HistoryCompleter(
|
||||
Core::ICore::settings(), m_commandEdit));
|
||||
m_commandEdit->setCompleter(new Utils::HistoryCompleter(m_commandEdit, QLatin1String("DebuggerInput")));
|
||||
QHBoxLayout *commandBox = new QHBoxLayout;
|
||||
commandBox->addWidget(m_commandLabel);
|
||||
commandBox->addWidget(m_commandEdit);
|
||||
|
||||
Reference in New Issue
Block a user