diff options
| author | Osmium Sorcerer <os@sof.beauty> | 2026-03-22 17:44:46 +0000 |
|---|---|---|
| committer | Osmium Sorcerer <os@sof.beauty> | 2026-03-29 22:22:25 +0000 |
| commit | d4e99dcee4f48bcb34e6f6a38d5bae4fa380c841 (patch) | |
| tree | a5174bfb5aa98e3075625a20f8b8e5c4ccf37b86 /src/charselect.cpp | |
| parent | 7cc36dc9ccad26dad216217f0527c1fe5c1072eb (diff) | |
Fix warnings and deprecated functions
- For QCheckBox: stateChanged -> checkStateChanged
- QChar(PREANIM) -> QLatin1Char(PREANIM)
- Unused result on demo_file.open()
- QPointer include was missing from lobby.h
- Missing const and override qualifiers
Diffstat (limited to 'src/charselect.cpp')
| -rw-r--r-- | src/charselect.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/charselect.cpp b/src/charselect.cpp index 5097814..7430522 100644 --- a/src/charselect.cpp +++ b/src/charselect.cpp @@ -236,7 +236,7 @@ void Courtroom::on_char_button_context_menu_requested(const QPoint &pos) } QMenu *menu = new QMenu(this); - menu->addAction(QString("Edit " + char_name + "/char.ini"), this, [=, this] { QDesktopServices::openUrl(QUrl::fromLocalFile(char_ini_path)); }); + menu->addAction(QString("Edit " + char_name + "/char.ini"), this, [=] { QDesktopServices::openUrl(QUrl::fromLocalFile(char_ini_path)); }); menu->addSeparator(); menu->addAction(QString("Open character folder " + char_name), this, [=, this] { QString p_path = ao_app->get_real_path(VPath("characters/" + char_name + "/")); |
