mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-03-23 12:38:53 -04:00
Application modal message boxes do not need full title
This is mainly to help JTAlert that uses window titles to find WSJT-X main windows. git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@8543 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
fcb9e39639
commit
cd7f6d3afc
@ -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}
|
||||
{
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user