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 11c38952 authored by Laurent Montel's avatar Laurent Montel 😁

Fix show url

parent 2d098e39
......@@ -170,7 +170,12 @@ void HtmlExportJob::finishExport()
QString saveMessage;
if ( saveStatus ) {
saveMessage = i18n( "Web page successfully written to \"%1\"", dest.url() );
QString urlStr;
if (dest.isLocalFile())
urlStr = dest.toLocalFile();
else
urlStr = dest.prettyUrl();
saveMessage = i18n( "Web page successfully written to \"%1\"", urlStr );
} else {
saveMessage = i18n( "Export failed. %1", errorMessage );
}
......
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