NOISSUE add missing Q_OBJECT macros

This commit is contained in:
Petr Mrázek 2018-12-23 01:05:11 +01:00
parent 4a4ba954ed
commit 56a9b65efb
4 changed files with 4 additions and 0 deletions

View File

@ -3,6 +3,7 @@
class NullInstance: public BaseInstance
{
Q_OBJECT
public:
NullInstance(SettingsObjectPtr globalSettings, SettingsObjectPtr settings, const QString& rootDir)
:BaseInstance(globalSettings, settings, rootDir)

View File

@ -4,6 +4,7 @@
class ResourcePackPage : public ModFolderPage
{
Q_OBJECT
public:
explicit ResourcePackPage(MinecraftInstance *instance, QWidget *parent = 0)
: ModFolderPage(instance, instance->resourcePackList(), "resourcepacks",

View File

@ -4,6 +4,7 @@
class TexturePackPage : public ModFolderPage
{
Q_OBJECT
public:
explicit TexturePackPage(MinecraftInstance *instance, QWidget *parent = 0)
: ModFolderPage(instance, instance->texturePackList(), "texturepacks", "resourcepacks",

View File

@ -16,6 +16,7 @@ typedef std::function<void(QString)> LogoCallback;
class FtbFilterModel : public QSortFilterProxyModel
{
Q_OBJECT
public:
FtbFilterModel(QObject* parent = Q_NULLPTR);
enum Sorting {