diff --git a/MessageBox.cpp b/MessageBox.cpp index 0f8b397..7c6f051 100644 --- a/MessageBox.cpp +++ b/MessageBox.cpp @@ -2,6 +2,7 @@ #include #include +#include #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} { } diff --git a/logqso.cpp b/logqso.cpp index 3fa454c..7b0e263 100644 --- a/logqso.cpp +++ b/logqso.cpp @@ -17,7 +17,7 @@ LogQSO::LogQSO(QString const& programTitle, QSettings * settings , Configuration const * config, QWidget *parent) - : QDialog(parent) + : QDialog {parent, Qt::WindowStaysOnTopHint | Qt::WindowTitleHint | Qt::WindowSystemMenuHint} , ui(new Ui::LogQSO) , m_settings (settings) , m_config {config}