mirror of
https://github.com/huderlem/porymap.git
synced 2026-08-21 16:15:58 -05:00
Use native message window for WildMonChart
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
#include "ui_wildmonchart.h"
|
||||
#include "config.h"
|
||||
#include "utility.h"
|
||||
#include "message.h"
|
||||
|
||||
static const QString baseWindowTitle = QString("Wild Pokémon Summary Charts");
|
||||
|
||||
@@ -459,11 +460,7 @@ void WildMonChart::showHelpDialog() {
|
||||
} else if (ui->tabWidget->currentWidget() == ui->tabLevels) {
|
||||
informativeText = levelTabInfo;
|
||||
}
|
||||
|
||||
QMessageBox msgBox(QMessageBox::Information, QApplication::applicationName(), text, QMessageBox::Close, this);
|
||||
msgBox.setTextFormat(Qt::RichText);
|
||||
msgBox.setInformativeText(informativeText);
|
||||
msgBox.exec();
|
||||
InfoMessage::show(text, informativeText, this);
|
||||
}
|
||||
|
||||
void WildMonChart::closeEvent(QCloseEvent *event) {
|
||||
|
||||
Reference in New Issue
Block a user