src/primitives.cc

changeset 882
2f3cc8e045d5
parent 866
4951b737f8cb
child 927
409b82a4765e
child 945
c310073e4f22
--- 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;
 	}
 

mercurial