From 73b8e1687bcddb8fec04b79f36465fc1330ce39c Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Fri, 8 May 2020 21:57:50 +0300 Subject: [PATCH] Clang warning error: lambda capture 'this' is not used. --- src/app/tape/dialogs/dialogabouttape.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/tape/dialogs/dialogabouttape.cpp b/src/app/tape/dialogs/dialogabouttape.cpp index a7c177ca2..c015ef7a2 100644 --- a/src/app/tape/dialogs/dialogabouttape.cpp +++ b/src/app/tape/dialogs/dialogabouttape.cpp @@ -50,7 +50,7 @@ DialogAboutTape::DialogAboutTape(QWidget *parent) //mApp->Settings()->GetOsSeparator() ? setLocale(QLocale()) : setLocale(QLocale::c()); RetranslateUi(); - connect(ui->pushButton_Web_Site, &QPushButton::clicked, this, [this]() + connect(ui->pushButton_Web_Site, &QPushButton::clicked, this, []() { if ( QDesktopServices::openUrl(QUrl(VER_COMPANYDOMAIN_STR)) == false) {