History

fix implicit this

RTUnreal committed 1 year ago

Commit 86c5f2c1 parent 611faa942 files · +134 −135Browse files

Showing the changes to interface/src/LocationBookmarks.cpp (1 of 42 files). Show all

Unified · Split

interface/src/LocationBookmarks.cpp+1−1
@@ -100,7 +100,7 @@ void LocationBookmarks::addBookmark() { · 99 unmodified lines
100100
101101 ModalDialogListener* dlg = OffscreenUi::getTextAsync(OffscreenUi::ICON_PLACEMARK, "Bookmark Location", "Name", QString());
102102
103− connect(dlg, &ModalDialogListener::response, this, [=] (QVariant response) {
103+ connect(dlg, &ModalDialogListener::response, this, [=, this] (QVariant response) {
104104 disconnect(dlg, &ModalDialogListener::response, this, nullptr);
105105 auto bookmarkName = response.toString();
106106