logic: fix properly create sqlite indices when changing DB mode

This commit is contained in:
malte_langkabel
2017-05-16 10:08:26 +02:00
parent d1a1552b8d
commit c58b6ae23c
+2 -8
View File
@@ -455,14 +455,8 @@ void PersistentStorage::setProjectSettingsText(std::string text)
void PersistentStorage::setup()
{
if (m_sqliteIndexStorage.isEmpty())
{
m_sqliteIndexStorage.setup();
}
if (m_sqliteBookmarkStorage.isEmpty())
{
m_sqliteBookmarkStorage.setup();
}
m_sqliteIndexStorage.setup();
m_sqliteBookmarkStorage.setup();
}
void PersistentStorage::clear()