Merge pull request from Salanto/fix-#180-compile-error

Fix compile error caused by 
This commit is contained in:
Rose Witchaven 2021-08-11 06:02:04 -05:00 committed by GitHub
commit db1645690e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,11 +20,9 @@
#define DB_VERSION 1
#include <QDebug>
#include <QDateTime>
#include <QHostAddress>
#include <QMessageAuthenticationCode>
#include <QString>
#include <QSqlDatabase>
#include <QSqlDriver>
#include <QSqlError>
@ -41,7 +39,8 @@
* differently than the average user.
* This comes in two forms, when the user's client is banned, and when the user is a moderator.
*/
class DBManager{
class DBManager : public QObject {
Q_OBJECT
public:
/**
* @brief Constructor for the DBManager class.