summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJasem Mutlaq <mutlaqja@ikarustech.com>2016-08-10 18:37:00 (GMT)
committerJasem Mutlaq <mutlaqja@ikarustech.com>2016-08-10 18:37:00 (GMT)
commit6777b501d29f01861b94b230afa9ff5c23ddae0d (patch)
treef56d4dffc3d26a1c320d5e21f48a659fae322e51
parent9acd8748217b2080e81af41895139218f3fb8b68 (diff)
Use toLocalFile()
-rw-r--r--kstars/kstarsactions.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kstars/kstarsactions.cpp b/kstars/kstarsactions.cpp
index be72f01..7b6c2ac 100644
--- a/kstars/kstarsactions.cpp
+++ b/kstars/kstarsactions.cpp
@@ -836,9 +836,9 @@ void KStars::slotExportImage() {
//m_ImageExporter = new ImageExporter( this );
if ( !m_ExportImageDialog ) {
- m_ExportImageDialog = new ExportImageDialog( fileURL.url(), QSize( map()->width(), map()->height() ), KStarsData::Instance()->imageExporter() );
+ m_ExportImageDialog = new ExportImageDialog( fileURL.toLocalFile(), QSize( map()->width(), map()->height() ), KStarsData::Instance()->imageExporter() );
} else {
- m_ExportImageDialog->setOutputUrl( fileURL.url() );
+ m_ExportImageDialog->setOutputUrl( fileURL.toLocalFile() );
m_ExportImageDialog->setOutputSize( QSize ( map()->width(), map()->height() ) );
}