Fix error: lambda capture 'this' is not used.
--HG-- branch : develop
This commit is contained in:
parent
ae37c0f793
commit
7c31d660a8
|
@ -50,9 +50,9 @@ 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)
|
||||
if ( not QDesktopServices::openUrl(QUrl(VER_COMPANYDOMAIN_STR)))
|
||||
{
|
||||
qWarning() << tr("Cannot open your default browser");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user