summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJasem Mutlaq <mutlaqja@ikarustech.com>2016-10-08 10:03:11 (GMT)
committerJasem Mutlaq <mutlaqja@ikarustech.com>2016-10-08 10:03:11 (GMT)
commitdfd322c407df8c397d9326e9ad932034691de5ae (patch)
tree17e0fe4444a3334151d4a1c16d4052cef9bb8ed5
parent9d9d7490c14479c5c99cd0130feea64f9a39527d (diff)
Init FITS url path to be the user home directory
-rw-r--r--kstars/kstarsactions.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kstars/kstarsactions.cpp b/kstars/kstarsactions.cpp
index 0a37957..20ce13d 100644
--- a/kstars/kstarsactions.cpp
+++ b/kstars/kstarsactions.cpp
@@ -797,7 +797,7 @@ void KStars::slotOpenFITS()
{
#ifdef HAVE_CFITSIO
- static QUrl path;
+ static QUrl path = QUrl::fromLocalFile(QDir::homePath());
QUrl fileURL = QFileDialog::getOpenFileUrl(KStars::Instance(), i18n("Open FITS"), path, "FITS (*.fits *.fit *.fts)");
if (fileURL.isEmpty())