Task #133019 - fixed.err

back to task #133019
download
Error: COMPILER_WARNING (CWE-477):
xdg-desktop-portal-kde-6.6.4/src/quickdialog.cpp: scope_hint: In member function ‘void QuickDialog::create(const QString&, const QVariantMap&)’
xdg-desktop-portal-kde-6.6.4/src/quickdialog.cpp:29:24: warning[-Wdeprecated-declarations]: ‘KLocalizedContext’ is deprecated: Since 6.8. use KLocalizedQmlContext or KLocalization::setupLocalizedContext() from KF6::I18nQml instead
#   29 |     auto context = new KLocalizedContext(engine);
#      |                        ^~~~~~~~~~~~~~~~~
/usr/include/KF6/KI18n/klocalizedstring.h:21: included_from: Included from here.
/usr/include/KF6/KI18n/KLocalizedString:1: included_from: Included from here.
xdg-desktop-portal-kde-6.6.4/src/quickdialog.cpp:8: included_from: Included from here.
/usr/include/KF6/KI18n/klocalizedcontext.h:46:5: note: declared here
#   46 |     KLocalizedContext : public QObject
#      |     ^~~~~~~~~~~~~~~~~
#   27|   {
#   28|       auto engine = new QQmlApplicationEngine(this);
#   29|->     auto context = new KLocalizedContext(engine);
#   30|       context->setTranslationDomain(QStringLiteral(TRANSLATION_DOMAIN));
#   31|       engine->rootContext()->setContextObject(context);

Error: COMPILER_WARNING (CWE-477):
xdg-desktop-portal-kde-6.6.4/src/region-select/SelectionEditor.cpp: scope_hint: In constructor ‘SelectionEditor::SelectionEditor(QObject*)’
xdg-desktop-portal-kde-6.6.4/src/region-select/SelectionEditor.cpp:89:24: warning[-Wdeprecated-declarations]: ‘KLocalizedContext’ is deprecated: Since 6.8. use KLocalizedQmlContext or KLocalization::setupLocalizedContext() from KF6::I18nQml instead
#   89 |     auto context = new KLocalizedContext(m_engine);
#      |                        ^~~~~~~~~~~~~~~~~
/usr/include/KF6/KI18n/KLocalizedContext:1: included_from: Included from here.
xdg-desktop-portal-kde-6.6.4/src/region-select/SelectionEditor.cpp:3: included_from: Included from here.
/usr/include/KF6/KI18n/klocalizedcontext.h:46:5: note: declared here
#   46 |     KLocalizedContext : public QObject
#      |     ^~~~~~~~~~~~~~~~~
#   87|       , m_engine(new QQmlApplicationEngine(this))
#   88|   {
#   89|->     auto context = new KLocalizedContext(m_engine);
#   90|       context->setTranslationDomain(QStringLiteral(TRANSLATION_DOMAIN));
#   91|       m_engine->rootContext()->setContextObject(context);

Error: COMPILER_WARNING (CWE-563):
xdg-desktop-portal-kde-6.6.4/src/remotedesktop.cpp: scope_hint: In member function ‘void RemoteDesktopSession::setOptions(const QVariantMap&)’
xdg-desktop-portal-kde-6.6.4/src/remotedesktop.cpp:524:58: warning[-Wunused-parameter]: unused parameter ‘options’
#  524 | void RemoteDesktopSession::setOptions(const QVariantMap &options)
#      |                                       ~~~~~~~~~~~~~~~~~~~^~~~~~~
#  522|   }
#  523|   
#  524|-> void RemoteDesktopSession::setOptions(const QVariantMap &options)
#  525|   {
#  526|   }