freebsd-ports/devel/subcommander2/files/patch-sublib__MsgHandler.cpp
Marcelo Araujo 0b1cf879c5 - Update to 2.0.0.b5.2.
PR:		ports/172504
Submitted by:	KATO Tsuguru <tkato432@yahoo.com>
2012-12-13 11:54:14 +00:00

20 lines
487 B
C++

--- sublib/MsgHandler.cpp.orig 2007-08-19 22:04:03.000000000 +0900
+++ sublib/MsgHandler.cpp 2012-05-10 05:58:52.000000000 +0900
@@ -16,6 +16,9 @@
// qt
#include <QtGui/QApplication>
+// sys
+#include <cstdlib>
+
static void MessageHandler( QtMsgType type, const char *msg )
{
@@ -28,6 +31,7 @@
msgWarning( getLongAppName(), msg, _q("&Ok") );
break;
case QtFatalMsg:
+ case QtCriticalMsg:
msgCritical( getLongAppName(), msg, _q("&Abort") );
abort();
}