In cmake run dialog, let two enter strokes run cmake and close dialog.

Merge-request: 596
Reviewed-by: dt <qtc-committer@nokia.com>
This commit is contained in:
Henrik Abelsson
2009-06-09 15:45:20 +02:00
committed by dt
parent c44584b7ca
commit 7d6031b509

View File

@@ -260,6 +260,7 @@ void CMakeRunPage::initWidgets()
fl->addRow(m_descriptionLabel); fl->addRow(m_descriptionLabel);
m_argumentsLineEdit = new QLineEdit(this); m_argumentsLineEdit = new QLineEdit(this);
connect(m_argumentsLineEdit,SIGNAL(returnPressed()), this, SLOT(runCMake()));
m_runCMake = new QPushButton(this); m_runCMake = new QPushButton(this);
m_runCMake->setText(tr("Run CMake")); m_runCMake->setText(tr("Run CMake"));