Clang warning error: lambda capture 'this' is not used.

This commit is contained in:
Roman Telezhynskyi 2020-05-08 21:57:50 +03:00
parent b179fcf0c5
commit 73b8e1687b

View File

@ -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)
{