src/actions.cc

changeset 882
2f3cc8e045d5
parent 876
f040f0fb3795
child 892
49afb6b98253
--- a/src/actions.cc	Sat Sep 06 23:21:28 2014 +0300
+++ b/src/actions.cc	Sun Sep 07 01:13:20 2014 +0300
@@ -383,7 +383,7 @@
 
 	if (not f.open (QIODevice::ReadOnly))
 	{
-		CriticalError (format ("Couldn't open %1 (%2)", fname, f.errorString()));
+		Critical (format ("Couldn't open %1 (%2)", fname, f.errorString()));
 		return;
 	}
 
@@ -420,7 +420,7 @@
 
 	if (not file.open (QIODevice::WriteOnly | QIODevice::Text))
 	{
-		CriticalError (format ("Unable to open %1 for writing (%2)", fname, file.errorString()));
+		Critical (format ("Unable to open %1 for writing (%2)", fname, file.errorString()));
 		return;
 	}
 
@@ -489,7 +489,7 @@
 				"PNG images (*.png);;JPG images (*.jpg);;BMP images (*.bmp);;All Files (*.*)");
 
 	if (not fname.isEmpty() and not img.save (fname))
-		CriticalError (format ("Couldn't open %1 for writing to save screencap: %2", fname, strerror (errno)));
+		Critical (format ("Couldn't open %1 for writing to save screencap: %2", fname, strerror (errno)));
 
 	delete[] imgdata;
 }

mercurial