Update about dialog

This commit is contained in:
oldmud0 2018-12-14 22:53:51 -06:00
parent 8be6944475
commit 30e5b72ad0
2 changed files with 17 additions and 17 deletions

View File

@ -10,6 +10,7 @@ Lobby::Lobby(AOApplication *p_ao_app) : QMainWindow()
ao_app = p_ao_app; ao_app = p_ao_app;
this->setWindowTitle("Attorney Online 2"); this->setWindowTitle("Attorney Online 2");
this->setWindowIcon(QIcon(":/logo.png"));
ui_background = new AOImage(this, ao_app); ui_background = new AOImage(this, ao_app);
ui_public_servers = new AOButton(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() void Lobby::on_about_clicked()
{ {
call_notice("Attorney Online 2 is built using Qt 5.7\n\n" QString msg = tr("<h2>Attorney Online %1</h2>"
"Lead development:\n" "The courtroom drama simulator"
"OmniTroid\n\n" "<p><b>Source code:</b> "
"stonedDiscord\n" "<a href='https://github.com/AttorneyOnline/AO2-Client'>"
"longbyte1\n" "https://github.com/AttorneyOnline/AO2-Client</a>"
"Supporting development:\n" "<p><b>Major development:</b><br>"
"Fiercy\n\n" "OmniTroid, stonedDiscord, longbyte1, gameboyprinter, Cerapter"
"UI design:\n" "<p><b>Special thanks:</b><br>"
"Ruekasu\n" "Remy, Iamgoofball, Hibiki, Qubrick (webAO), Ruekasu (UI design), "
"Draxirch\n\n" "Draxirch (UI design), Unishred, Argoneus (tsuserver), Fiercy, "
"Special thanks:\n" "Noevain, Cronnicossy")
"Unishred\n" .arg(ao_app->get_version_string());
"Argoneus\n" QMessageBox::about(this, "About", msg);
"Noevain\n"
"Cronnicossy");
} }
void Lobby::on_server_list_clicked(QModelIndex p_model) void Lobby::on_server_list_clicked(QModelIndex p_model)

View File

@ -1,5 +1,6 @@
<RCC> <RCC>
<qresource> <qresource prefix="/">
<file>resource/fonts/Ace-Attorney.ttf</file> <file>resource/fonts/Ace-Attorney.ttf</file>
<file>logo.png</file>
</qresource> </qresource>
</RCC> </RCC>