From f1ee489c6ae1f968a94739db81924366062d0232 Mon Sep 17 00:00:00 2001 From: Mikhail Zolotukhin Date: Sun, 27 Mar 2022 00:11:10 +0300 Subject: [PATCH] chore: fix tests missing signals warnings --- tests/core/plasma-api/workspace.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/tests/core/plasma-api/workspace.cpp b/tests/core/plasma-api/workspace.cpp index c9cf2c34..940d8aa7 100644 --- a/tests/core/plasma-api/workspace.cpp +++ b/tests/core/plasma-api/workspace.cpp @@ -39,6 +39,15 @@ public: Q_SIGNALS: void currentDesktopChanged(int desktop, KWin::AbstractClient *client); + // Not all signals are used, some of them declared to avoid warnings + void numberScreensChanged(int); + void screenResized(int); + void currentActivityChanged(const QString &); + void clientAdded(KWin::AbstractClient *); + void clientRemoved(KWin::AbstractClient *); + void clientMinimized(KWin::AbstractClient *); + void clientUnminimized(KWin::AbstractClient *); + void clientMaximizeSet(KWin::AbstractClient *, bool, bool); private: int m_currentDesktop{};