r21728 by jghali - ensure PDF export filename is shown with native separative separators after changing PDF export filename

scribus-commit scribus-commit at lists.scribus.net
Tue Jan 10 23:02:42 UTC 2017


Author: jghali
Date: Tue Jan 10 23:02:42 2017
New Revision: 21728

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=21728
Log:
ensure PDF export filename is shown with native separative separators after changing PDF export filename

Modified:
    trunk/Scribus/scribus/ui/pdfexportdialog.cpp

Modified: trunk/Scribus/scribus/ui/pdfexportdialog.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=21728&path=/trunk/Scribus/scribus/ui/pdfexportdialog.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/pdfexportdialog.cpp	(original)
+++ trunk/Scribus/scribus/ui/pdfexportdialog.cpp	Tue Jan 10 23:02:42 2017
@@ -239,7 +239,7 @@
 	{
 		QString fn(QDir::fromNativeSeparators(d));
 		dirs->set("pdf", fn.left(fn.lastIndexOf("/")));
-		fileNameLineEdit->setText( d );
+		fileNameLineEdit->setText(QDir::toNativeSeparators(d));
 	}	
 }
 




More information about the scribus-commit mailing list