From 32275f1a74c161d2fed8c056b2dd9555687a22f2 Mon Sep 17 00:00:00 2001 From: Albert Astals Cid <aacid@kde.org> Date: Sun, 24 Jan 2021 18:43:39 +0100 Subject: [PATCH] Move moc include outside the QCA namespace It's the right thing to do and also fixes build with gcc 11 --- src/qca_default.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/qca_default.cpp b/src/qca_default.cpp index 7c2a8f89..e31ce3e1 100644 --- a/src/qca_default.cpp +++ b/src/qca_default.cpp @@ -1358,6 +1358,6 @@ QStringList plugin_priorities(Provider *defaultProvider) return that->shared.plugin_priorities(); } -#include "qca_default.moc" - } + +#include "qca_default.moc" -- GitLab