diff options
author | Pawel Polanski <pawel.3.polanski@nokia.com> | 2011-05-20 15:04:19 +0200 |
---|---|---|
committer | Tobias Hunger <tobias.hunger@nokia.com> | 2011-05-20 15:15:40 +0200 |
commit | 56a73b29215b3b95af4a87d58e3f0b0c9854297e (patch) | |
tree | c22299c0281b6625e4c78c137b6b1beb42fecc9c /src | |
parent | 2d80383db12ac229949c0bd4e50c1613137e2d64 (diff) | |
download | qt-creator-56a73b29215b3b95af4a87d58e3f0b0c9854297e.tar.gz |
Crash when no Qt version is defined
Change-Id: Iffef69e328d9b7294c6aeb753219033456efe2c2
Reviewed-on: http://codereview.qt.nokia.com/40
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/qt4projectmanager/qt-s60/s60publishingbuildsettingspageovi.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/qt4projectmanager/qt-s60/s60publishingbuildsettingspageovi.cpp b/src/plugins/qt4projectmanager/qt-s60/s60publishingbuildsettingspageovi.cpp index cf7de40aea..6c77c3c283 100644 --- a/src/plugins/qt4projectmanager/qt-s60/s60publishingbuildsettingspageovi.cpp +++ b/src/plugins/qt4projectmanager/qt-s60/s60publishingbuildsettingspageovi.cpp @@ -61,7 +61,7 @@ S60PublishingBuildSettingsPageOvi::S60PublishingBuildSettingsPageOvi(S60Publishe foreach (ProjectExplorer::BuildConfiguration * const bc, target->buildConfigurations()) { Qt4BuildConfiguration * const qt4bc = qobject_cast<Qt4BuildConfiguration *>(bc); - if (!qt4bc) + if (!qt4bc || !qt4bc->qtVersion()) continue; if (qt4bc->qtVersion()->qtVersion() > QtVersionNumber(4, 6, 2)) list << qt4bc; |