--- a/src/primitives.cc Sat Sep 06 23:21:28 2014 +0300 +++ b/src/primitives.cc Sun Sep 07 01:13:20 2014 +0300 @@ -168,7 +168,7 @@ QFile conf (path); if (not conf.open (QIODevice::WriteOnly | QIODevice::Text)) - CriticalError (format ("Couldn't write primitive list %1: %2", + Critical (format ("Couldn't write primitive list %1: %2", path, conf.errorString())); else { @@ -292,7 +292,7 @@ if (not f.open (QIODevice::ReadOnly)) { - CriticalError (format (QObject::tr ("Failed to open primitive categories: %1"), f.errorString())); + Critical (format (QObject::tr ("Failed to open primitive categories: %1"), f.errorString())); return; }