windowsrunner: Make dummy implementation of Action method inline

This commit is contained in:
Alexander Lohnau 2023-12-17 12:23:26 +01:00
parent 624da13e21
commit e3ab09dbd3
2 changed files with 4 additions and 9 deletions

View file

@ -32,14 +32,6 @@ WindowsRunner::WindowsRunner()
QDBusConnection::sessionBus().registerService(QStringLiteral("org.kde.KWin")); QDBusConnection::sessionBus().registerService(QStringLiteral("org.kde.KWin"));
} }
WindowsRunner::~WindowsRunner() = default;
RemoteActions WindowsRunner::Actions()
{
RemoteActions actions;
return actions;
}
RemoteMatches WindowsRunner::Match(const QString &searchTerm) RemoteMatches WindowsRunner::Match(const QString &searchTerm)
{ {
RemoteMatches matches; RemoteMatches matches;

View file

@ -34,7 +34,10 @@ public:
explicit WindowsRunner(); explicit WindowsRunner();
~WindowsRunner() override; ~WindowsRunner() override;
RemoteActions Actions(); RemoteActions Actions()
{
return {};
}
RemoteMatches Match(const QString &searchTerm); RemoteMatches Match(const QString &searchTerm);
void Run(const QString &id, const QString &actionId); void Run(const QString &id, const QString &actionId);