diff options
author | Jarek Kobus <jaroslaw.kobus@qt.io> | 2024-02-06 12:37:27 +0100 |
---|---|---|
committer | Jarek Kobus <jaroslaw.kobus@qt.io> | 2024-02-06 13:08:30 +0000 |
commit | 947eaccea8a2229b0edadddc058398268c39d989 (patch) | |
tree | 64047e22dca5e4e53cad9ddf0e1a982631b86bfb /src/plugins/nim | |
parent | d5c5e612d1b37257709d77a27a9c680c7531ac99 (diff) |
Various plugins: Fix remaining C++20 warnings about [=] captures
Change-Id: I3aab5f6fac0d30ff7e31dc524d2f42565b80bdb0
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: hjk <hjk@qt.io>
Diffstat (limited to 'src/plugins/nim')
-rw-r--r-- | src/plugins/nim/project/nimcompilerbuildstep.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/nim/project/nimcompilerbuildstep.cpp b/src/plugins/nim/project/nimcompilerbuildstep.cpp index 06c1ce7547..af730b4c85 100644 --- a/src/plugins/nim/project/nimcompilerbuildstep.cpp +++ b/src/plugins/nim/project/nimcompilerbuildstep.cpp @@ -74,7 +74,8 @@ QWidget *NimCompilerBuildStep::createConfigWidget() formLayout->addRow(Tr::tr("Extra arguments:"), additionalArgumentsLineEdit); formLayout->addRow(Tr::tr("Command:"), commandTextEdit); - auto updateUi = [=] { + auto updateUi = [this, commandTextEdit, targetComboBox, additionalArgumentsLineEdit, + defaultArgumentsComboBox] { const CommandLine cmd = commandLine(); const QStringList parts = ProcessArgs::splitArgs(cmd.toUserOutput(), HostOsInfo::hostOs()); |