Skip to content
Snippets Groups Projects
Commit 67148893 authored by Thorbjørn Lindeijer's avatar Thorbjørn Lindeijer
Browse files

Don't crash cause of referencing uninitialized pointers

parent 65969bad
No related branches found
No related tags found
No related merge requests found
...@@ -166,6 +166,7 @@ void GenericProjectWizardDialog::updateFilesView(const QModelIndex &current, ...@@ -166,6 +166,7 @@ void GenericProjectWizardDialog::updateFilesView(const QModelIndex &current,
void GenericProjectWizardDialog::initializePage(int id) void GenericProjectWizardDialog::initializePage(int id)
{ {
#if 0
if (id == _secondPageId) { if (id == _secondPageId) {
using namespace Core::Utils; using namespace Core::Utils;
...@@ -174,6 +175,7 @@ void GenericProjectWizardDialog::initializePage(int id) ...@@ -174,6 +175,7 @@ void GenericProjectWizardDialog::initializePage(int id)
QDirModel *dirModel = qobject_cast<QDirModel *>(_dirView->model()); QDirModel *dirModel = qobject_cast<QDirModel *>(_dirView->model());
_dirView->setRootIndex(dirModel->index(projectPath)); _dirView->setRootIndex(dirModel->index(projectPath));
} }
#endif
} }
bool GenericProjectWizardDialog::validateCurrentPage() bool GenericProjectWizardDialog::validateCurrentPage()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment