1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-11 07:18:08 +00:00

Stop subclassing QObject in misc

This commit is contained in:
Christophe Dumez 2012-05-17 15:21:13 +03:00
parent 0f291629cc
commit 30d5273bb5

View File

@ -42,6 +42,7 @@
#include <QPoint> #include <QPoint>
#include <QFile> #include <QFile>
#include <QDir> #include <QDir>
#include <QCoreApplication>
#ifndef DISABLE_GUI #ifndef DISABLE_GUI
#include <QIcon> #include <QIcon>
#endif #endif
@ -49,8 +50,9 @@
const qlonglong MAX_ETA = 8640000; const qlonglong MAX_ETA = 8640000;
/* Miscellaneaous functions that can be useful */ /* Miscellaneaous functions that can be useful */
class misc : public QObject{ class misc
Q_OBJECT {
Q_DECLARE_TR_FUNCTIONS(misc)
private: private:
misc(); // Forbidden misc(); // Forbidden