Skip to content
Snippets Groups Projects
Commit aa3ccee4 authored by dt's avatar dt
Browse files

Fix showing of recent projects list if started with the empty list

Task-Nr: QTCREATORBUG-1176
Reviewed-By: danimo
parent baae85d5
No related merge requests found
...@@ -124,9 +124,6 @@ void ProjectWelcomePageWidget::updateWelcomePage(const WelcomePageData &welcomeP ...@@ -124,9 +124,6 @@ void ProjectWelcomePageWidget::updateWelcomePage(const WelcomePageData &welcomeP
ui->sessTreeWidget->addItem(str, s); ui->sessTreeWidget->addItem(str, s);
} }
ui->sessTreeWidget->updateGeometry(); ui->sessTreeWidget->updateGeometry();
ui->sessTreeWidget->show();
} else {
ui->sessTreeWidget->hide();
} }
typedef QPair<QString, QString> QStringPair; typedef QPair<QString, QString> QStringPair;
...@@ -143,10 +140,8 @@ void ProjectWelcomePageWidget::updateWelcomePage(const WelcomePageData &welcomeP ...@@ -143,10 +140,8 @@ void ProjectWelcomePageWidget::updateWelcomePage(const WelcomePageData &welcomeP
ui->projTreeWidget->addItem(label, it.first, ui->projTreeWidget->addItem(label, it.first,
QDir::toNativeSeparators(fi.absolutePath())); QDir::toNativeSeparators(fi.absolutePath()));
} }
} else { ui->projTreeWidget->updateGeometry();
ui->projTreeWidget->hide();
} }
ui->projTreeWidget->updateGeometry();
setUpdatesEnabled(true); setUpdatesEnabled(true);
} }
......
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