From e3ab09dbd3861c4b5bded6cdeafa82310092a843 Mon Sep 17 00:00:00 2001 From: Alexander Lohnau Date: Sun, 17 Dec 2023 12:23:26 +0100 Subject: [PATCH] windowsrunner: Make dummy implementation of Action method inline --- .../krunner-integration/windowsrunnerinterface.cpp | 8 -------- src/plugins/krunner-integration/windowsrunnerinterface.h | 5 ++++- 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/src/plugins/krunner-integration/windowsrunnerinterface.cpp b/src/plugins/krunner-integration/windowsrunnerinterface.cpp index 0fb46d67a8..7cb065cb15 100644 --- a/src/plugins/krunner-integration/windowsrunnerinterface.cpp +++ b/src/plugins/krunner-integration/windowsrunnerinterface.cpp @@ -32,14 +32,6 @@ WindowsRunner::WindowsRunner() QDBusConnection::sessionBus().registerService(QStringLiteral("org.kde.KWin")); } -WindowsRunner::~WindowsRunner() = default; - -RemoteActions WindowsRunner::Actions() -{ - RemoteActions actions; - return actions; -} - RemoteMatches WindowsRunner::Match(const QString &searchTerm) { RemoteMatches matches; diff --git a/src/plugins/krunner-integration/windowsrunnerinterface.h b/src/plugins/krunner-integration/windowsrunnerinterface.h index a048b6bfec..8990462a6a 100644 --- a/src/plugins/krunner-integration/windowsrunnerinterface.h +++ b/src/plugins/krunner-integration/windowsrunnerinterface.h @@ -34,7 +34,10 @@ public: explicit WindowsRunner(); ~WindowsRunner() override; - RemoteActions Actions(); + RemoteActions Actions() + { + return {}; + } RemoteMatches Match(const QString &searchTerm); void Run(const QString &id, const QString &actionId);