summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJasem Mutlaq <mutlaqja@ikarustech.com>2016-07-17 16:02:00 (GMT)
committerJasem Mutlaq <mutlaqja@ikarustech.com>2016-07-17 16:02:00 (GMT)
commitc7446afb050b3ad517c2e94b49875904e380b3c6 (patch)
treeb7388dd685c349ea903e8dbf1345d50b47cac514
parent718630cd9d1554ef52fbab471343d48a200ac092 (diff)
Save last opened URL in FITSViewer
-rw-r--r--kstars/fitsviewer/fitsviewer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kstars/fitsviewer/fitsviewer.cpp b/kstars/fitsviewer/fitsviewer.cpp
index 50d4799..729a60d 100644
--- a/kstars/fitsviewer/fitsviewer.cpp
+++ b/kstars/fitsviewer/fitsviewer.cpp
@@ -476,7 +476,7 @@ void FITSViewer::openFile()
if (fileURL.isEmpty())
return;
- lastURL = fileURL;
+ lastURL = QUrl(fileURL.url(QUrl::RemoveFilename));
QString fpath = fileURL.path();
QString cpath;