summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJasem Mutlaq <mutlaqja@ikarustech.com>2016-10-29 05:06:20 (GMT)
committerJasem Mutlaq <mutlaqja@ikarustech.com>2016-10-29 05:06:20 (GMT)
commit6bda418a722e1f070d89ae22a9cea6ccf8b670c7 (patch)
tree44f0d9dcc4445c405bc94d08363a2a5e08a45d3b
parent831d1d98fcd7bc9fbabef394e32b4b9730879316 (diff)
Create file URL from Local File
-rw-r--r--kstars/indi/indiccd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kstars/indi/indiccd.cpp b/kstars/indi/indiccd.cpp
index 80ffa6e..9e62853 100644
--- a/kstars/indi/indiccd.cpp
+++ b/kstars/indi/indiccd.cpp
@@ -1284,7 +1284,7 @@ void CCD::processBLOB(IBLOB* bp)
#ifdef HAVE_CFITSIO
if (BType == BLOB_FITS)
{
- QUrl fileURL(filename);
+ QUrl fileURL = QUrl::fromLocalFile(filename);
if (fv.isNull())
{