From 440cca918edbb2d97dffdc7a7c0cd243085692fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Fri, 26 Aug 2016 15:24:00 +0200 Subject: [PATCH] Register metatype for KWin::EffectWindow* It's used as arg in a QMetaObject::invokeMethod and there was a report about KWin printing a warning of unregistered metatype. --- main.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/main.cpp b/main.cpp index ef1034f903..db58ac71f5 100644 --- a/main.cpp +++ b/main.cpp @@ -35,6 +35,8 @@ along with this program. If not, see . #include "workspace.h" #include "xcbutils.h" +#include + // KDE #include #include @@ -102,6 +104,7 @@ Application::Application(Application::OperationMode mode, int &argc, char **argv , m_operationMode(mode) { qRegisterMetaType("Options::WindowOperation"); + qRegisterMetaType(); } void Application::setConfigLock(bool lock)