Task #91230 - fixed.err

back to task #91230
download
Error: COMPILER_WARNING (CWE-477):
krunner-6.18.0/src/dbusrunner.cpp: scope_hint: In member function ‘virtual void KRunner::DBusRunner::run(const KRunner::RunnerContext&, const KRunner::QueryMatch&)’
krunner-6.18.0/src/dbusrunner.cpp:295:30: warning[-Wdeprecated-declarations]: ‘void KWaylandExtras::xdgActivationTokenArrived(int, const QString&)’ is deprecated: Since 6.19. Use xdgActivationToken()
#  295 |             &KWaylandExtras::xdgActivationTokenArrived,
#      |                              ^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/KF6/KWindowSystem/KWaylandExtras:1: included_from: Included from here.
krunner-6.18.0/src/dbusrunner.cpp:20: included_from: Included from here.
/usr/include/KF6/KWindowSystem/kwaylandextras.h:113:78: note: declared here
#  113 |     KWINDOWSYSTEM_DEPRECATED_VERSION(6, 19, "Use xdgActivationToken()") void xdgActivationTokenArrived(int serial, const QString &token);
#      |                                                                              ^~~~~~~~~~~~~~~~~~~~~~~~~
#  293|           connect(
#  294|               KWaylandExtras::self(),
#  295|->             &KWaylandExtras::xdgActivationTokenArrived,
#  296|               this,
#  297|               [this, launchedSerial, service, matchId, actionId, run](int tokenSerial, const QString &token) {

Error: COMPILER_WARNING (CWE-477):
krunner-6.18.0/src/dbusrunner.cpp:308:50: warning[-Wdeprecated-declarations]: ‘static void KWaylandExtras::requestXdgActivationToken(QWindow*, uint32_t, const QString&)’ is deprecated: Since 6.19. Use xdgActivationToken()
#  308 |         KWaylandExtras::requestXdgActivationToken(qGuiApp->focusWindow(), launchedSerial, {});
#      |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/KF6/KWindowSystem/kwaylandextras.h:44:29: note: declared here
#   44 |     Q_INVOKABLE static void requestXdgActivationToken(QWindow *win, uint32_t serial, const QString &app_id);
#      |                             ^~~~~~~~~~~~~~~~~~~~~~~~~
#  306|               },
#  307|               Qt::SingleShotConnection);
#  308|->         KWaylandExtras::requestXdgActivationToken(qGuiApp->focusWindow(), launchedSerial, {});
#  309|       } else {
#  310|           run();