From 30e5b72ad0bb333dbe874d544c1159df1176239a Mon Sep 17 00:00:00 2001 From: oldmud0 Date: Fri, 14 Dec 2018 22:53:51 -0600 Subject: [PATCH] Update about dialog --- lobby.cpp | 29 ++++++++++++++--------------- resources.qrc | 5 +++-- 2 files changed, 17 insertions(+), 17 deletions(-) diff --git a/lobby.cpp b/lobby.cpp index aa1f43f..5158a1f 100644 --- a/lobby.cpp +++ b/lobby.cpp @@ -10,6 +10,7 @@ Lobby::Lobby(AOApplication *p_ao_app) : QMainWindow() ao_app = p_ao_app; this->setWindowTitle("Attorney Online 2"); + this->setWindowIcon(QIcon(":/logo.png")); ui_background = new AOImage(this, ao_app); ui_public_servers = new AOButton(this, ao_app); @@ -264,21 +265,19 @@ void Lobby::on_connect_released() void Lobby::on_about_clicked() { - call_notice("Attorney Online 2 is built using Qt 5.7\n\n" - "Lead development:\n" - "OmniTroid\n\n" - "stonedDiscord\n" - "longbyte1\n" - "Supporting development:\n" - "Fiercy\n\n" - "UI design:\n" - "Ruekasu\n" - "Draxirch\n\n" - "Special thanks:\n" - "Unishred\n" - "Argoneus\n" - "Noevain\n" - "Cronnicossy"); + QString msg = tr("

Attorney Online %1

" + "The courtroom drama simulator" + "

Source code: " + "" + "https://github.com/AttorneyOnline/AO2-Client" + "

Major development:
" + "OmniTroid, stonedDiscord, longbyte1, gameboyprinter, Cerapter" + "

Special thanks:
" + "Remy, Iamgoofball, Hibiki, Qubrick (webAO), Ruekasu (UI design), " + "Draxirch (UI design), Unishred, Argoneus (tsuserver), Fiercy, " + "Noevain, Cronnicossy") + .arg(ao_app->get_version_string()); + QMessageBox::about(this, "About", msg); } void Lobby::on_server_list_clicked(QModelIndex p_model) diff --git a/resources.qrc b/resources.qrc index d0c2f22..51f3693 100644 --- a/resources.qrc +++ b/resources.qrc @@ -1,5 +1,6 @@ - - resource/fonts/Ace-Attorney.ttf + + resource/fonts/Ace-Attorney.ttf + logo.png