summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJasem Mutlaq <mutlaqja@ikarustech.com>2016-08-17 14:38:53 (GMT)
committerJasem Mutlaq <mutlaqja@ikarustech.com>2016-08-17 14:38:53 (GMT)
commitf689472fd73f70a32bb15571c1961de55b388002 (patch)
tree49d2a7856338812bb64c9520e4fdb1339a03c179
parentd51147bce4544b5ece28407d17fbbe4bb2498a9e (diff)
Construct URL from local file
-rw-r--r--kstars/skyobjects/satellitegroup.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kstars/skyobjects/satellitegroup.cpp b/kstars/skyobjects/satellitegroup.cpp
index 162d113..12707b9 100644
--- a/kstars/skyobjects/satellitegroup.cpp
+++ b/kstars/skyobjects/satellitegroup.cpp
@@ -82,7 +82,7 @@ QUrl SatelliteGroup::tleFilename()
{
// Return absolute path with "file:" before the path
//return QUrl( "file:" + (KSPaths::writableLocation(QStandardPaths::GenericDataLocation) + "") + m_tle_file) ;
- return QUrl(KSPaths::writableLocation(QStandardPaths::GenericDataLocation) + m_tle_file) ;
+ return QUrl::fromLocalFile(KSPaths::writableLocation(QStandardPaths::GenericDataLocation) + m_tle_file) ;
}
QUrl SatelliteGroup::tleUrl()