mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-14 02:27:09 -07:00
Stop subclassing QObject in misc
This commit is contained in:
parent
0f291629cc
commit
30d5273bb5
1 changed files with 4 additions and 2 deletions
|
@ -42,6 +42,7 @@
|
|||
#include <QPoint>
|
||||
#include <QFile>
|
||||
#include <QDir>
|
||||
#include <QCoreApplication>
|
||||
#ifndef DISABLE_GUI
|
||||
#include <QIcon>
|
||||
#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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue