diff -r 82a9c3549db1 -r 2f3cc8e045d5 src/actions.cc --- 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; }