debugger: save history of log input pane

Task-number: QTCREATORBUG-6474
Change-Id: Ie57f7a6d8f2dce9f09f2b2f5140071289d9c4518
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
This commit is contained in:
hjk
2011-11-04 17:59:05 +01:00
committed by Eike Ziller
parent 4a976e6b48
commit ed2458a893

View File

@@ -58,6 +58,7 @@
#include <utils/savedaction.h>
#include <utils/fileutils.h>
#include <utils/historycompleter.h>
namespace Debugger {
namespace Internal {
@@ -361,6 +362,8 @@ LogWindow::LogWindow(QWidget *parent)
m_commandLabel = new QLabel(tr("Command:"), this);
m_commandEdit = new QLineEdit(this);
m_commandEdit->setFrame(false);
m_commandEdit->setObjectName("DebuggerInput");
m_commandEdit->setCompleter(new Utils::HistoryCompleter(m_commandEdit));
QHBoxLayout *commandBox = new QHBoxLayout;
commandBox->addWidget(m_commandLabel);
commandBox->addWidget(m_commandEdit);