Showing the changes to interface/src/LocationBookmarks.cpp (1 of 42 files). Show all
Unified · Split
| @@ -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 | ||