r21156 by jghali -

scribus-commit scribus-commit at lists.scribus.net
Sun Apr 3 21:43:20 UTC 2016


Author: jghali
Date: Sun Apr  3 21:43:20 2016
New Revision: 21156

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=21156
Log:
#13848: Sub-processes launched from Scribus will block the Scribus mainloop until the other application is closed <jurajF>

Modified:
    trunk/Scribus/scribus/scribus.cpp

Modified: trunk/Scribus/scribus/scribus.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=21156&path=/trunk/Scribus/scribus/scribus.cpp
==============================================================================
--- trunk/Scribus/scribus/scribus.cpp	(original)
+++ trunk/Scribus/scribus/scribus.cpp	Sun Apr  3 21:43:20 2016
@@ -7154,7 +7154,7 @@
 			{
 				QStringList args;
 				args << QDir::toNativeSeparators(doc->pdfOptions().fileName);
-				System(pdfViewer, args);
+				QProcess::startDetached(pdfViewer, args);
 			}
 		}
 	}




More information about the scribus-commit mailing list