From 30d5273bb56b5e0bb4a0902b81085d59170eb6cf Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Thu, 17 May 2012 15:21:13 +0300 Subject: [PATCH] Stop subclassing QObject in misc --- src/misc.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/misc.h b/src/misc.h index 82b98be0b..7f4284050 100644 --- a/src/misc.h +++ b/src/misc.h @@ -42,6 +42,7 @@ #include #include #include +#include #ifndef DISABLE_GUI #include #endif @@ -49,8 +50,9 @@ const qlonglong MAX_ETA = 8640000; /* Miscellaneaous functions that can be useful */ -class misc : public QObject{ - Q_OBJECT +class misc +{ + Q_DECLARE_TR_FUNCTIONS(misc) private: misc(); // Forbidden