Commit f689472f authored by Jasem Mutlaq's avatar Jasem Mutlaq

Construct URL from local file

parent d51147bc
......@@ -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()
......
Markdown is supported
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