summaryrefslogtreecommitdiff
path: root/MessageBox.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'MessageBox.cpp')
-rw-r--r--MessageBox.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/MessageBox.cpp b/MessageBox.cpp
index 0f8b3972..7c6f0513 100644
--- a/MessageBox.cpp
+++ b/MessageBox.cpp
@@ -2,6 +2,7 @@
#include <QDialogButtonBox>
#include <QPushButton>
+#include <QCoreApplication>
#include "revision_utils.hpp"
@@ -13,7 +14,7 @@ MessageBox::MessageBox (QWidget * parent)
MessageBox::MessageBox (Icon icon, QString const& text, StandardButtons buttons
, QWidget * parent, Qt::WindowFlags flags)
- : QMessageBox {icon, program_title (), text, buttons, parent, flags}
+ : QMessageBox {icon, QCoreApplication::applicationName (), text, buttons, parent, flags}
{
}