summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJasem Mutlaq <mutlaqja@ikarustech.com>2016-08-10 18:26:21 (GMT)
committerJasem Mutlaq <mutlaqja@ikarustech.com>2016-08-10 18:26:21 (GMT)
commit9acd8748217b2080e81af41895139218f3fb8b68 (patch)
tree77e776fec11148f8be8fe47f9ff899a9383899e0
parentd2ad5cc2deaa2c664966a1923f5e50d6412fa110 (diff)
Use fromUserInput to properly parse the file input
-rw-r--r--kstars/ekos/scheduler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kstars/ekos/scheduler.cpp b/kstars/ekos/scheduler.cpp
index a756b4d..1262f6c 100644
--- a/kstars/ekos/scheduler.cpp
+++ b/kstars/ekos/scheduler.cpp
@@ -3082,7 +3082,7 @@ bool Scheduler::processJobInfo(XMLEle *root)
else if (!strcmp(tagXMLEle(ep), "Sequence"))
{
sequenceEdit->setText(pcdataXMLEle(ep));
- sequenceURL = QUrl(sequenceEdit->text());
+ sequenceURL = QUrl::fromUserInput(sequenceEdit->text());
}
else if (!strcmp(tagXMLEle(ep), "FITS"))
{