Fix error: lambda capture 'this' is not used.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2018-12-11 13:12:08 +02:00
parent ae37c0f793
commit 7c31d660a8

View File

@ -50,9 +50,9 @@ DialogAboutTape::DialogAboutTape(QWidget *parent)
//mApp->Settings()->GetOsSeparator() ? setLocale(QLocale()) : setLocale(QLocale::c()); //mApp->Settings()->GetOsSeparator() ? setLocale(QLocale()) : setLocale(QLocale::c());
RetranslateUi(); 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) if ( not QDesktopServices::openUrl(QUrl(VER_COMPANYDOMAIN_STR)))
{ {
qWarning() << tr("Cannot open your default browser"); qWarning() << tr("Cannot open your default browser");
} }