data: updated EULA

* updated EULA to reflect Test Licenses and made some minor changes
* moved 3rd party licenses to app data folder
* fixed crashes in headless mode
This commit is contained in:
malte_langkabel
2017-02-14 15:53:36 +01:00
parent 591f723b82
commit 3359f25427
15 changed files with 476 additions and 131 deletions
+16 -10
View File
@@ -167,7 +167,10 @@ void Application::createAndLoadProject(const FilePath& projectSettingsFilePath)
MessageStatus("Failed to load project, exception was thrown: " + projectSettingsFilePath.str(), true).dispatch();
}
m_componentManager->clearComponents();
if (m_hasGUI)
{
m_componentManager->clearComponents();
}
}
void Application::refreshProject(bool force)
@@ -341,17 +344,20 @@ void Application::logStorageStats() const
void Application::updateTitle()
{
std::string title = m_isInTrial ? "Coati Trial" : "Coati";
if (m_project)
if (m_hasGUI)
{
FilePath projectPath = m_project->getProjectSettingsFilePath();
std::string title = m_isInTrial ? "Coati Trial" : "Coati";
if (!projectPath.empty())
if (m_project)
{
title += " - " + projectPath.fileName();
}
}
FilePath projectPath = m_project->getProjectSettingsFilePath();
m_mainView->setTitle(title);
if (!projectPath.empty())
{
title += " - " + projectPath.fileName();
}
}
m_mainView->setTitle(title);
}
}