close down history completer interface

Change-Id: Iaeff40be410d1f0facd687632c9ce4897eb2e613
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
This commit is contained in:
hjk
2012-08-23 14:26:24 +02:00
parent 903eeaf42f
commit 88f5949e38
7 changed files with 47 additions and 97 deletions

View File

@@ -33,7 +33,7 @@
#include <coreplugin/icore.h>
#include <utils/pathchooser.h>
#include <utils/historycompleter.h>
#include <utils/fancylineedit.h>
#include <projectexplorer/profileinformation.h>
#include <projectexplorer/profilemanager.h>
#include <projectexplorer/toolchain.h>
@@ -295,9 +295,8 @@ void CMakeRunPage::initWidgets()
}
// Run CMake Line (with arguments)
m_argumentsLineEdit = new QLineEdit(this);
m_argumentsLineEdit->setCompleter(
new Utils::HistoryCompleter(m_argumentsLineEdit, QLatin1String("CMakeArgumentsLineEdit")));
m_argumentsLineEdit = new Utils::FancyLineEdit(this);
m_argumentsLineEdit->setHistoryKey(QLatin1String("CMakeArgumentsLineEdit"));
connect(m_argumentsLineEdit,SIGNAL(returnPressed()), this, SLOT(runCMake()));
fl->addRow(tr("Arguments:"), m_argumentsLineEdit);