diff options
author | Tobias Hunger <tobias.hunger@digia.com> | 2013-09-25 11:51:39 +0200 |
---|---|---|
committer | Tobias Hunger <tobias.hunger@digia.com> | 2013-09-25 13:19:13 +0200 |
commit | 5529864cd5ea739a2e1985d0a10f1913d35ba7ad (patch) | |
tree | 716091e469a812ce4e851243c8df3cd0247f5b0e /src/plugins/qtsupport | |
parent | 67bb37a204fffc3b05a5cf36694ad659f398d5af (diff) | |
download | qt-creator-5529864cd5ea739a2e1985d0a10f1913d35ba7ad.tar.gz |
QtVersion: Do not consider a valid Qt equal to an invalid Qt
Otherwise there is no changed signal once a Qt version becomes valid
which is required to e.g. re-check the validity of the kits that use
this Qt version.
Task-number: QTCREATORBUG-10222
Change-Id: I117fc08bd8ef775c50df654d760e4540e07e6c61
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
Diffstat (limited to 'src/plugins/qtsupport')
-rw-r--r-- | src/plugins/qtsupport/baseqtversion.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/qtsupport/baseqtversion.cpp b/src/plugins/qtsupport/baseqtversion.cpp index 17bf62f091..d1d9cd6625 100644 --- a/src/plugins/qtsupport/baseqtversion.cpp +++ b/src/plugins/qtsupport/baseqtversion.cpp @@ -501,6 +501,8 @@ bool BaseQtVersion::equals(BaseQtVersion *other) return false; if (displayName() != other->displayName()) return false; + if (isValid() != other->isValid()) + return false; return true; } |