]> vaikene.ee Git - evaf/blobdiff - src/main/GUI/fatalerr.h
Warning fixes and copyright update.
[evaf] / src / main / GUI / fatalerr.h
index d10b1d7aef6e2cca533f611ce466bbec608e48a0..7f1a08868ff6074234d9e3fe91065fcc55a16752 100644 (file)
@@ -3,7 +3,7 @@
  * @brief Fatal error message dialog box
   * @author Enar Vaikene
 *
- * Copyright (c) 2011 Enar Vaikene
+ * Copyright (c) 2011-2019 Enar Vaikene
  *
  * This file is part of the eVaf C++ cross-platform application development framework.
  *
@@ -53,7 +53,7 @@ public:
      * @param text Text shown on the dialog box
      * @param parent Optional parent widget
      */
-    FatalErr(QString const & title, QString const & text, QWidget * parent = 0);
+    FatalErr(QString const & title, QString const & text, QWidget * parent = nullptr);
 
     /**
      * Shows a fatal error message dialog box
@@ -62,7 +62,7 @@ public:
      * @param parent Optional parent widget
      * @return The result code
      */
-    static int message(QString const & title, QString const & text, QWidget * parent = 0);
+    static int message(QString const & title, QString const & text, QWidget * parent = nullptr);
 
 
 protected: