r13969 by herm - Increased uniconvertor timeouts.

scribus-commit scribus-commit at lists.scribus.net
Mon Sep 7 00:10:15 CEST 2009


Revision: 13969
Author: herm
Date: 2009-09-06T22:08:08.858645Z
Commit message: Increased uniconvertor timeouts.


Changeset: 
M  /trunk/Scribus/scribus/plugins/uniconvertorplugin/uniconvplugin.cpp

Diffs:
Index: scribus/plugins/uniconvertorplugin/uniconvplugin.cpp
===================================================================
--- scribus/plugins/uniconvertorplugin/uniconvplugin.cpp	(revision 13968)
+++ scribus/plugins/uniconvertorplugin/uniconvplugin.cpp	(revision 13969)
@@ -154,7 +154,7 @@
 	uniconv.start(PrefsManager::instance()->uniconvExecutable(), arguments);
 	
 	//handle errors
-	if (!uniconv.waitForStarted(10000)) {
+	if (!uniconv.waitForStarted(120000)) {
 		qWarning() << "Uniconvertor failed:" << 
 			PrefsManager::instance()->uniconvExecutable() << arguments;
 		QMessageBox::warning(mw, CommonStrings::trWarning,
@@ -164,7 +164,7 @@
 			"were set. (%1)").arg(uniconv.errorString()));
 		return false;
 	}
-	if (!uniconv.waitForFinished(10000)) {
+	if (!uniconv.waitForFinished(120000)) {
 		qDebug() << "Uniconv exit code:" << uniconv.exitCode();
 		QMessageBox::warning(mw, CommonStrings::trWarning,
 			tr("Uniconvertor did not exit correctly: %1").arg(
@@ -188,4 +188,4 @@
 	qDebug() << "Loading file!";
 	fmt->loadFile(tempFileName, flags);
 	return true;
-}
\ No newline at end of file
+}




More information about the scribus-commit mailing list