summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJasem Mutlaq <mutlaqja@ikarustech.com>2016-08-18 07:31:36 (GMT)
committerJasem Mutlaq <mutlaqja@ikarustech.com>2016-08-18 07:31:36 (GMT)
commit278a1731f847bd842b356a5d18afd0e367e78fc4 (patch)
treedb5aa37bdfb6171d516cedf47872e9bfadc43d21
parent31790263f2f1adf4c80ec214c4b8660eda56a0e4 (diff)
Use hardcoded / to avoid issues on Windows
-rw-r--r--kstars/auxiliary/kspaths.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kstars/auxiliary/kspaths.cpp b/kstars/auxiliary/kspaths.cpp
index 62880f5..be28352 100644
--- a/kstars/auxiliary/kspaths.cpp
+++ b/kstars/auxiliary/kspaths.cpp
@@ -16,7 +16,7 @@ QString KSPaths::locate(QStandardPaths::StandardLocation location, const QString
#else
QString file = fileName;
if( location == QStandardPaths::GenericDataLocation || location == QStandardPaths::GenericConfigLocation )
- file = "kstars" + QDir::separator() + fileName;
+ file = "kstars/" + fileName;
return QStandardPaths::locate(location, file, options);
#endif
}
@@ -35,7 +35,7 @@ QStringList KSPaths::locateAll(QStandardPaths::StandardLocation location, const
#else
QString file = fileName;
if( location == QStandardPaths::GenericDataLocation || location == QStandardPaths::GenericConfigLocation )
- file = "kstars" + QDir::separator() + fileName;
+ file = "kstars/" + fileName;
return QStandardPaths::locateAll(location, file, options);
#endif
}