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
......@@ -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);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment