History

fix implicit this

RTUnreal committed 1 year ago

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

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

Unified · Split

interface/src/Bookmarks.cpp+1−1
@@ -62,7 +62,7 @@ void Bookmarks::addBookmarkToFile(const QString& bookmarkName, const QVariant& b · 61 unmodified lines
6262 "The bookmark name you entered already exists in your list.",
6363 QMessageBox::Yes | QMessageBox::No, QMessageBox::Yes);
6464 dlg->setProperty("informativeText", "Would you like to overwrite it?");
65− QObject::connect(dlg, &ModalDialogListener::response, this, [=] (QVariant answer) {
65+ QObject::connect(dlg, &ModalDialogListener::response, this, [=, this] (QVariant answer) {
6666 QObject::disconnect(dlg, &ModalDialogListener::response, this, nullptr);
6767
6868 if (QMessageBox::Yes == static_cast<QMessageBox::StandardButton>(answer.toInt())) {