Commit d8442c5a authored by Jasem Mutlaq's avatar Jasem Mutlaq
Browse files

No need for separator here it is already included in the writable location return string

parent 278a1731
......@@ -24,7 +24,7 @@ bool CatalogDB::Initialize() {
skydb_ = QSqlDatabase::addDatabase("QSQLITE", "skydb");
QString dbfile = KSPaths::locate(QStandardPaths::GenericDataLocation, QString("skycomponents.sqlite"));
if (dbfile.isEmpty())
dbfile = KSPaths::writableLocation(QStandardPaths::GenericDataLocation) + QString("/skycomponents.sqlite");
dbfile = KSPaths::writableLocation(QStandardPaths::GenericDataLocation) + QString("skycomponents.sqlite");
QFile testdb(dbfile);
bool first_run = false;
......
Supports Markdown
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