ui: startscreen

startscreen with recent projects, "recent" projects are the xml files in the projects folder
This commit is contained in:
Andreas Stallinger
2015-05-27 10:56:25 +02:00
parent 837fb24dc6
commit b0a5461316
10 changed files with 175 additions and 12 deletions
-11
View File
@@ -25,17 +25,6 @@ std::shared_ptr<Application> Application::create(ViewFactory* viewFactory)
ptr->m_componentManager->setup(ptr->m_mainView.get());
ptr->m_mainView->loadLayout();
std::string startupProjectFilePath = ApplicationSettings::getInstance()->getStartupProjectFilePath();
if (startupProjectFilePath.size())
{
MessageLoadProject(startupProjectFilePath).dispatch();
}
else
{
MessageStatus("StartupProject was not defined in the ApplicationSettings", true).dispatch();
LOG_WARNING("No StartupProject defined in ApplicationSettings");
}
return ptr;
}