OSDN Git Service

If first page of the library wizard is canceled then Creator crashes - fixed
authorPawel Polanski <pawel.3.polanski@nokia.com>
Fri, 24 Sep 2010 15:08:04 +0000 (17:08 +0200)
committerPawel Polanski <pawel.3.polanski@nokia.com>
Fri, 24 Sep 2010 15:09:28 +0000 (17:09 +0200)
src/plugins/qt4projectmanager/wizards/librarywizarddialog.cpp

index 41785fa..c6b2e97 100644 (file)
@@ -244,7 +244,8 @@ void LibraryWizardDialog::slotCurrentIdChanged(int id)
     if (id == m_filesPageId)
         setupFilesPage();// Switching to files page: Set up base class accordingly (plugin)
     else if (id == m_mobilePageId
-             || m_mobilePage->symbianUid().isEmpty() && currentPage()->isFinalPage())
+             || (m_mobilePage->symbianUid().isEmpty()
+             && currentPage() && currentPage()->isFinalPage()))
         setupMobilePage();
 }