From 79dd11259863f38cdfa1d8011c2674522712cd1a Mon Sep 17 00:00:00 2001 From: Jordan Sherer Date: Wed, 7 Mar 2018 01:57:18 -0500 Subject: [PATCH] SVN r8543 --- MessageBox.cpp | 3 ++- logqso.cpp | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) 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}