From 112e7254fa3b9d352daf4aa2669c0c111bf6d589 Mon Sep 17 00:00:00 2001 From: NamedKitten Date: Sat, 22 Dec 2018 13:40:16 +0000 Subject: [PATCH] [Enums] Moved class to header. --- src/enums.cpp | 6 ------ src/enums.hpp | 7 +++++++ 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/src/enums.cpp b/src/enums.cpp index 3f820bd..cd52682 100644 --- a/src/enums.cpp +++ b/src/enums.cpp @@ -1,7 +1 @@ #include "enums.hpp" - -// Forces meta generation. -class Dummy : public QObject -{ - Q_OBJECT -}; diff --git a/src/enums.hpp b/src/enums.hpp index 3a2e5c5..ed439cc 100644 --- a/src/enums.hpp +++ b/src/enums.hpp @@ -57,4 +57,11 @@ Q_ENUM_NS(Backends) } +// Forces meta generation. +class Dummy : public QObject +{ + Q_OBJECT +}; + + #endif