summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJasem Mutlaq <mutlaqja@ikarustech.com>2016-10-28 16:19:05 (GMT)
committerJasem Mutlaq <mutlaqja@ikarustech.com>2016-10-28 16:19:05 (GMT)
commit807467ead5cec5211b17946156aa5c152eca3131 (patch)
treef6f634a81157a539deca0990ff2f5f1d83c788ba
parenta867d71f9b270e487d5b898ed5ad99956f0b1b21 (diff)
Use local file otherwise it is broken under Windows
-rw-r--r--kstars/fitsviewer/fitstab.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kstars/fitsviewer/fitstab.cpp b/kstars/fitsviewer/fitstab.cpp
index d41bdb6..ac116fb 100644
--- a/kstars/fitsviewer/fitstab.cpp
+++ b/kstars/fitsviewer/fitstab.cpp
@@ -108,7 +108,7 @@ bool FITSTab::loadFITS(const QUrl *imageURL, FITSMode mode, FITSScale filter, bo
view->setFilter(filter);
- bool imageLoad = view->loadFITS(imageURL->url(), silent);
+ bool imageLoad = view->loadFITS(imageURL->toLocalFile(), silent);
if (imageLoad)
{