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
100 100
101 ModalDialogListener* dlg = OffscreenUi::getTextAsync(OffscreenUi::ICON_PLACEMARK, "Bookmark Location", "Name", QString());101 ModalDialogListener* dlg = OffscreenUi::getTextAsync(OffscreenUi::ICON_PLACEMARK, "Bookmark Location", "Name", QString());
102 102
103 connect(dlg, &ModalDialogListener::response, this, [=] (QVariant response) {103 connect(dlg, &ModalDialogListener::response, this, [=, this] (QVariant response) {
104 disconnect(dlg, &ModalDialogListener::response, this, nullptr);104 disconnect(dlg, &ModalDialogListener::response, this, nullptr);
105 auto bookmarkName = response.toString();105 auto bookmarkName = response.toString();
106 106