summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/plugins/qt4projectmanager/qmakestep.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/plugins/qt4projectmanager/qmakestep.cpp b/src/plugins/qt4projectmanager/qmakestep.cpp
index c0c932f45f..7ea921ec58 100644
--- a/src/plugins/qt4projectmanager/qmakestep.cpp
+++ b/src/plugins/qt4projectmanager/qmakestep.cpp
@@ -706,10 +706,7 @@ void QMakeStepConfigWidget::updateQmlDebuggingOption()
m_ui->qmlDebuggingLibraryCheckBox->setEnabled(m_step->isQmlDebuggingLibrarySupported());
QtSupport::BaseQtVersion *qtVersion = m_step->qt4BuildConfiguration()->qtVersion();
- if (!qtVersion || !qtVersion->needsQmlDebuggingLibrary())
- m_ui->debuggingLibraryLabel->setText(tr("Enable QML debugging:"));
- else
- m_ui->debuggingLibraryLabel->setText(tr("Link QML debugging library:"));
+ m_ui->debuggingLibraryLabel->setText(tr("Enable QML debugging:"));
QString warningText;