aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@theqtcompany.com>2015-07-07 14:48:41 +0200
committerEike Ziller <eike.ziller@theqtcompany.com>2015-07-07 13:02:27 +0000
commitb6b14de4d20d8349c67981d9763efcc4445694c9 (patch)
treed52f4882a400e0da591a466fb5c16e31c1dac1ca
parent2b613ef7bef1568e2cadb840d78b63bdd56eeb47 (diff)
Fix that pressing apply was adding more Qt Versionsv3.5.0-beta1
Broke with 307fe5553a5780e24ac161c3fec68fcd95c60eb1 Task-number: QTCREATORBUG-14700 Change-Id: I40b8e0baffd6d69400586f823079234c0ac9e078 Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com> Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com> Reviewed-by: Daniel Teske <daniel.teske@theqtcompany.com> Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
-rw-r--r--src/plugins/qtsupport/qtoptionspage.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/plugins/qtsupport/qtoptionspage.cpp b/src/plugins/qtsupport/qtoptionspage.cpp
index a3c4495dd3..777575fcf7 100644
--- a/src/plugins/qtsupport/qtoptionspage.cpp
+++ b/src/plugins/qtsupport/qtoptionspage.cpp
@@ -936,13 +936,13 @@ void QtOptionsPageWidget::updateCurrentQtName()
void QtOptionsPageWidget::apply()
{
- disconnect(QtVersionManager::instance(), SIGNAL(qtVersionsChanged(QList<int>,QList<int>,QList<int>)),
- this, SLOT(updateQtVersions(QList<int>,QList<int>,QList<int>)));
+ disconnect(QtVersionManager::instance(), &QtVersionManager::qtVersionsChanged,
+ this, &QtOptionsPageWidget::updateQtVersions);
QtVersionManager::setNewQtVersions(versions());
- connect(QtVersionManager::instance(), SIGNAL(qtVersionsChanged(QList<int>,QList<int>,QList<int>)),
- this, SLOT(updateQtVersions(QList<int>,QList<int>,QList<int>)));
+ connect(QtVersionManager::instance(), &QtVersionManager::qtVersionsChanged,
+ this, &QtOptionsPageWidget::updateQtVersions);
}
QList<BaseQtVersion *> QtOptionsPageWidget::versions() const