Fix unused lambda capture.
--HG-- branch : develop
This commit is contained in:
parent
58560bf5e6
commit
fe5a58beef
|
@ -2977,7 +2977,7 @@ void TMainWindow::CreateWindowMenu(QMenu *menu)
|
|||
SCASSERT(menu != nullptr)
|
||||
|
||||
QAction *action = menu->addAction(tr("&New Window"));
|
||||
connect(action, &QAction::triggered, this, [this]()
|
||||
connect(action, &QAction::triggered, this, []()
|
||||
{
|
||||
qApp->NewMainWindow();
|
||||
qApp->MainWindow()->activateWindow();
|
||||
|
@ -3237,7 +3237,7 @@ void TMainWindow::ImportMultisizeMeasurements(const QxtCsvModel &csv)
|
|||
return;
|
||||
}
|
||||
|
||||
auto ConverToDouble = [this](QString text, const QString &error)
|
||||
auto ConverToDouble = [](QString text, const QString &error)
|
||||
{
|
||||
text = VTranslateVars::TryFormulaFromUser(text, qApp->Settings()->GetOsSeparator());
|
||||
bool ok = false;
|
||||
|
|
Loading…
Reference in New Issue
Block a user