summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJasem Mutlaq <mutlaqja@ikarustech.com>2016-08-18 08:40:50 (GMT)
committerJasem Mutlaq <mutlaqja@ikarustech.com>2016-08-18 08:40:50 (GMT)
commitd8442c5a55f9771c209a1e1f05c078e7ae1c71a2 (patch)
treeed097feffcbdf216788e349e42ed36d1063ad843
parent278a1731f847bd842b356a5d18afd0e367e78fc4 (diff)
No need for separator here it is already included in the writable location return string
-rw-r--r--datahandlers/catalogdb.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/datahandlers/catalogdb.cpp b/datahandlers/catalogdb.cpp
index c6be6fd..9b3d268 100644
--- a/datahandlers/catalogdb.cpp
+++ b/datahandlers/catalogdb.cpp
@@ -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;