forked from qt-creator/qt-creator
close down history completer interface
Change-Id: Iaeff40be410d1f0facd687632c9ce4897eb2e613 Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
This commit is contained in:
@@ -57,7 +57,7 @@
|
||||
|
||||
#include <utils/savedaction.h>
|
||||
#include <utils/fileutils.h>
|
||||
#include <utils/historycompleter.h>
|
||||
#include <utils/fancylineedit.h>
|
||||
|
||||
namespace Debugger {
|
||||
namespace Internal {
|
||||
@@ -341,9 +341,9 @@ LogWindow::LogWindow(QWidget *parent)
|
||||
QSizePolicy::MinimumExpanding);
|
||||
|
||||
m_commandLabel = new QLabel(tr("Command:"), this);
|
||||
m_commandEdit = new QLineEdit(this);
|
||||
m_commandEdit = new Utils::FancyLineEdit(this);
|
||||
m_commandEdit->setFrame(false);
|
||||
m_commandEdit->setCompleter(new Utils::HistoryCompleter(m_commandEdit, QLatin1String("DebuggerInput")));
|
||||
m_commandEdit->setHistoryKey(QLatin1String("DebuggerInput"));
|
||||
QHBoxLayout *commandBox = new QHBoxLayout;
|
||||
commandBox->addWidget(m_commandLabel);
|
||||
commandBox->addWidget(m_commandEdit);
|
||||
|
||||
Reference in New Issue
Block a user