Task #1777 - plasma-systemsettings-6.0.3-1.fc40/scan-results.err
back to task #1777download
Error: COMPILER_WARNING (CWE-477): plasma-systemsettings-6.0.3-build/systemsettings-6.0.3/app/SettingsBase.cpp: scope_hint: In lambda function plasma-systemsettings-6.0.3-build/systemsettings-6.0.3/app/SettingsBase.cpp:140:119: warning[-Wdeprecated]: implicit capture of ‘this’ via ‘[=]’ is deprecated in C++20 # 140 | reportPageSpecificBugAction = actionCollection()->addAction(QStringLiteral("report_bug_in_current_module"), this, [=] { # | ^ plasma-systemsettings-6.0.3-build/systemsettings-6.0.3/app/SettingsBase.cpp:140:119: note: add explicit ‘this’ or ‘*this’ capture # 138| } # 139| # 140|-> reportPageSpecificBugAction = actionCollection()->addAction(QStringLiteral("report_bug_in_current_module"), this, [=] { # 141| const QString bugReportUrlString = # 142| view->moduleView()->activeModuleMetadata().bugReportUrl() + QStringLiteral("&version=") + QGuiApplication::applicationVersion(); Error: COMPILER_WARNING (CWE-477): plasma-systemsettings-6.0.3-build/systemsettings-6.0.3/app/SettingsBase.cpp: scope_hint: In lambda function plasma-systemsettings-6.0.3-build/systemsettings-6.0.3/app/SettingsBase.cpp:314:59: warning[-Wdeprecated]: implicit capture of ‘this’ via ‘[=]’ is deprecated in C++20 # 314 | connect(moduleView, &ModuleView::moduleChanged, this, [=] { # | ^ plasma-systemsettings-6.0.3-build/systemsettings-6.0.3/app/SettingsBase.cpp:314:59: note: add explicit ‘this’ or ‘*this’ capture # 312| } # 313| auto moduleView = view->moduleView(); # 314|-> connect(moduleView, &ModuleView::moduleChanged, this, [=] { # 315| reportPageSpecificBugAction->setVisible(!moduleView->activeModuleMetadata().bugReportUrl().isEmpty()); # 316| if (reportGeneralBugAction) {