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