From 5a8b22afdd7c1e64e40ef198b4051eee533be512 Mon Sep 17 00:00:00 2001 From: Felix Kauselmann Date: Sun, 29 Oct 2023 15:24:29 +0100 Subject: [PATCH] Remove YACReaderComicInfoPair metatype When doing modularized builds, the definition of YACReaderComicInfoPair as a metatype can lead to redefinition of Qt internal metatypes at the moc stage. This is currently not happening in qmake, but is a problem for our CMake migartion. As we don't really use this type, it is safe to remove. --- common/comic_db.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/common/comic_db.h b/common/comic_db.h index dfe88b46..6c6dac09 100644 --- a/common/comic_db.h +++ b/common/comic_db.h @@ -8,9 +8,6 @@ #include #include -typedef QPair YACReaderComicInfoPair; -Q_DECLARE_METATYPE(YACReaderComicInfoPair) - class ComicInfo : public QObject { Q_OBJECT