Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 6777b501 authored by Jasem Mutlaq's avatar Jasem Mutlaq

Use toLocalFile()

parent 9acd8748
......@@ -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() ) );
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment