Skip to content
Permalink
Browse files
Reverted the fix for the Qt about dialog as it wasn't broken in the f…
…irst place
  • Loading branch information
dhrdlicka committed Feb 16, 2022
1 parent e906886 commit ac4a6ccb9c92cdd1a3be350af3382c0520be0e0b
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/qt/qt_mainwindow.cpp
@@ -1433,7 +1433,7 @@ void MainWindow::on_actionAbout_86Box_triggered()
msgBox.setInformativeText(tr("An emulator of old computers\n\nAuthors: Sarah Walker, Miran Grca, Fred N. van Kempen (waltje), SA1988, Tiseno100, reenigne, leilei, JohnElliott, greatpsycho, and others.\n\nReleased under the GNU General Public License version 2 or later. See LICENSE for more information."));
msgBox.setWindowTitle("About 86Box");
msgBox.addButton("OK", QMessageBox::ButtonRole::AcceptRole);
auto webSiteButton = msgBox.addButton(QString::fromWCharArray(EMU_SITE_W), QMessageBox::ButtonRole::HelpRole);
auto webSiteButton = msgBox.addButton(EMU_SITE, QMessageBox::ButtonRole::HelpRole);
webSiteButton->connect(webSiteButton, &QPushButton::released, []()
{
QDesktopServices::openUrl(QUrl("https://" EMU_SITE));

0 comments on commit ac4a6cc

Please sign in to comment.