summaryrefslogtreecommitdiff
path: root/devel/subcommander2/files/patch-sublib__MsgHandler.cpp
blob: 2b8b9e602dbc0895b6352d2fc55738caff7e06ff (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- 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();
   }