aboutsummaryrefslogtreecommitdiff
path: root/src/charselect.cpp
diff options
context:
space:
mode:
authorSalanto <62221668+Salanto@users.noreply.github.com>2024-07-11 15:52:34 +0200
committerSalanto <62221668+Salanto@users.noreply.github.com>2024-07-11 15:52:34 +0200
commitd9aada29009c66c6d146d88b20ab43f967653566 (patch)
treed3d93edb4d4ff93b3fda493f0e0e1a68bcdb3a78 /src/charselect.cpp
parentefd2571459924f40718130f7edd28a72a76b12d7 (diff)
Add Courtroom position restore
Diffstat (limited to 'src/charselect.cpp')
-rw-r--r--src/charselect.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/charselect.cpp b/src/charselect.cpp
index 8bce410a..d36220aa 100644
--- a/src/charselect.cpp
+++ b/src/charselect.cpp
@@ -230,9 +230,9 @@ 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, [=] { QDesktopServices::openUrl(QUrl::fromLocalFile(char_ini_path)); });
+ menu->addAction(QString("Edit " + char_name + "/char.ini"), this, [=, this] { QDesktopServices::openUrl(QUrl::fromLocalFile(char_ini_path)); });
menu->addSeparator();
- menu->addAction(QString("Open character folder " + char_name), this, [=] {
+ menu->addAction(QString("Open character folder " + char_name), this, [=, this] {
QString p_path = ao_app->get_real_path(VPath("characters/" + char_name + "/"));
if (!dir_exists(p_path))
{