src/extprogs.cpp

changeset 526
b29b6fc45ba9
parent 522
afa691788bdb
child 538
2f85d4d286e5
--- a/src/extprogs.cpp	Tue Oct 22 13:53:24 2013 +0300
+++ b/src/extprogs.cpp	Tue Oct 22 19:22:15 2013 +0300
@@ -208,12 +208,10 @@
 	QStringList argv = argvstr.split (" ", QString::SkipEmptyParts);
 
 #ifndef _WIN32
-
 	if (*g_extProgWine[prog])
 	{	argv.insert (0, path);
 		path = "wine";
 	}
-
 #endif // _WIN32
 
 	log ("cmdline: %1 %2\n", path, argv.join (" "));
@@ -237,10 +235,6 @@
 	// Wait while it runs
 	proc.waitForFinished();
 
-#ifndef RELEASE
-	log ("%1", str (proc.readAllStandardOutput()));
-#endif // RELEASE
-
 	str err = "";
 
 	if (proc.exitStatus() != QProcess::NormalExit)
@@ -419,7 +413,7 @@
 	short inCol, cutCol;
 	const bool repeatInverse = ui.cb_repeat->isChecked();
 
-	for (;;)
+	forever
 	{	if (!dlg->exec())
 			return;
 
@@ -505,7 +499,7 @@
 
 	short in1Col, in2Col;
 
-	for (;;)
+	forever
 	{	if (!dlg->exec())
 			return;
 
@@ -563,7 +557,7 @@
 	short in1Col, in2Col;
 
 	// Run the dialog and validate input
-	for (;;)
+	forever
 	{	if (!dlg->exec())
 			return;
 

mercurial