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