data: check for nullptr in searchindex

This commit is contained in:
Andreas Stallinger
2015-10-29 13:33:12 +01:00
parent a7ad0a60f3
commit 58daa633c9
2 changed files with 20 additions and 1 deletions
+3 -1
View File
@@ -72,7 +72,9 @@ void Application::loadProject(const FilePath& projectSettingsFilePath)
updateRecentProjects(projectSettingsFilePath);
m_mainView->setTitle(projectSettingsFilePath.fileName());
m_mainView->setTitle(
projectSettingsFilePath.withoutExtension().fileName()
+ "[" + projectSettingsFilePath.fileName() + "]" + " - Coati");
m_storageCache->clear();
m_componentManager->refreshViews();