diff -r 82a9c3549db1 -r 2f3cc8e045d5 src/extPrograms.cc --- a/src/extPrograms.cc Sat Sep 06 23:21:28 2014 +0300 +++ b/src/extPrograms.cc Sun Sep 07 01:13:20 2014 +0300 @@ -195,7 +195,7 @@ if (not f.open (QIODevice::WriteOnly | QIODevice::Text)) { - CriticalError (format ("Couldn't open temporary file %1 for writing: %2\n", fname, f.errorString())); + Critical (format ("Couldn't open temporary file %1 for writing: %2\n", fname, f.errorString())); return; } @@ -259,7 +259,7 @@ if (not proc.waitForStarted()) { - CriticalError (format ("Couldn't start %1: %2\n", g_extProgNames[prog], ProcessExtProgError (prog, proc))); + Critical (format ("Couldn't start %1: %2\n", g_extProgNames[prog], ProcessExtProgError (prog, proc))); return false; } @@ -280,7 +280,7 @@ if (not err.isEmpty()) { - CriticalError (format ("%1 failed: %2\n", g_extProgNames[prog], err)); + Critical (format ("%1 failed: %2\n", g_extProgNames[prog], err)); QString filename ("externalProgramOutput.txt"); QFile file (filename); @@ -315,7 +315,7 @@ if (not f.open (QIODevice::ReadOnly)) { - CriticalError (format ("Couldn't open temporary file %1 for reading.\n", fname)); + Critical (format ("Couldn't open temporary file %1 for reading.\n", fname)); return; } @@ -481,7 +481,7 @@ if (inCol == cutCol) { - CriticalError ("Cannot use the same color group for both input and cutter!"); + Critical ("Cannot use the same color group for both input and cutter!"); continue; } @@ -575,7 +575,7 @@ if (in1Col == in2Col) { - CriticalError ("Cannot use the same color group for both inputs!"); + Critical ("Cannot use the same color group for both inputs!"); continue; } @@ -641,7 +641,7 @@ if (in1Col == in2Col) { - CriticalError ("Cannot use the same color group for both input and cutter!"); + Critical ("Cannot use the same color group for both input and cutter!"); continue; }