mirror of
https://github.com/86Box/86Box.git
synced 2026-02-25 04:45:31 -07:00
About dialog: Use EMU_NAME instead of hardcoding "86Box"
This commit is contained in:
@@ -48,9 +48,9 @@ About::About(QWidget *parent)
|
||||
# define DYNAREC_STR "no dynarec"
|
||||
#endif
|
||||
versioninfo.append(QString(" [%1, %2]").arg(QSysInfo::buildCpuArchitecture(), tr(DYNAREC_STR)));
|
||||
setText(QString("<b>%3%1%2</b>").arg(EMU_VERSION_FULL, versioninfo, tr("86Box v")));
|
||||
setText(QString("<b>%1 v%2%3</b>").arg(EMU_NAME, EMU_VERSION_FULL, versioninfo));
|
||||
setInformativeText(tr("An emulator of old computers\n\nAuthors: Miran Grča (OBattler), RichardG867, Jasmine Iwanek, TC1995, coldbrewed, Teemu Korhonen (Manaatti), Joakim L. Gilje, Adrien Moulin (elyosh), Daniel Balsom (gloriouscow), Cacodemon345, Fred N. van Kempen (waltje), Tiseno100, reenigne, and others.\n\nWith previous core contributions from Sarah Walker, leilei, JohnElliott, greatpsycho, and others.\n\nReleased under the GNU General Public License version 2 or later. See LICENSE for more information.").replace("\n", "<br>"));
|
||||
setWindowTitle(tr("About 86Box"));
|
||||
setWindowTitle(tr("About %1").arg(EMU_NAME));
|
||||
const auto closeButton = addButton("OK", QMessageBox::ButtonRole::AcceptRole);
|
||||
setEscapeButton(closeButton);
|
||||
const auto webSiteButton = addButton(EMU_SITE, QMessageBox::ButtonRole::HelpRole);
|
||||
|
||||
Reference in New Issue
Block a user