QTfrontend/util/MessageDialog.h
changeset 8799 44e520374cfc
parent 8434 4821897a0f10
child 8805 c0ea47957bdc
--- a/QTfrontend/util/MessageDialog.h	Wed Mar 27 12:20:22 2013 +0100
+++ b/QTfrontend/util/MessageDialog.h	Wed Mar 27 12:56:07 2013 +0100
@@ -19,7 +19,6 @@
 #ifndef MESSAGEDIALOG_H
 #define MESSAGEDIALOG_H
 
-#include <QString>
 #include <QMessageBox>
 
 class QWidget;
@@ -27,9 +26,10 @@
 class MessageDialog
 {
     public:
+        static int ShowFatalMessage(const QString & msg, QWidget * parent = 0);
         static int ShowErrorMessage(const QString & msg, QWidget * parent = 0);
         static int ShowInfoMessage(const QString & msg, QWidget * parent = 0);
-        static int ShowMessage(const QString & msg, const QString & title = QString(), QMessageBox::Icon icon = QMessageBox::NoIcon, QWidget * parent = 0);
+        static int ShowMessage(const QString & msg, const QString & title = 0, QMessageBox::Icon icon = QMessageBox::NoIcon, QWidget * parent = 0);
 };
 
 #endif