diff --git a/sagasu/include/filepropertieswindow.h b/sagasu/include/filepropertieswindow.h index a08349a..14f288c 100644 --- a/sagasu/include/filepropertieswindow.h +++ b/sagasu/include/filepropertieswindow.h @@ -9,6 +9,7 @@ class FilePropertiesWindow : public QWidget { Q_OBJECT + public: explicit FilePropertiesWindow(QString path, physis_Buffer buffer, QWidget *parent = nullptr); diff --git a/sagasu/include/filetreewindow.h b/sagasu/include/filetreewindow.h index 5df53f5..8c198e7 100644 --- a/sagasu/include/filetreewindow.h +++ b/sagasu/include/filetreewindow.h @@ -12,6 +12,7 @@ class FileTreeWindow : public QWidget { Q_OBJECT + public: explicit FileTreeWindow(QString gamePath, GameData *data, QWidget *parent = nullptr); diff --git a/sagasu/include/hashdatabase.h b/sagasu/include/hashdatabase.h index 5653ab2..5bdf3ed 100644 --- a/sagasu/include/hashdatabase.h +++ b/sagasu/include/hashdatabase.h @@ -9,6 +9,8 @@ class HashDatabase : public QObject { + Q_OBJECT + public: HashDatabase(QObject *parent = nullptr); diff --git a/sagasu/src/filepropertieswindow.cpp b/sagasu/src/filepropertieswindow.cpp index 91a08e5..9a67761 100644 --- a/sagasu/src/filepropertieswindow.cpp +++ b/sagasu/src/filepropertieswindow.cpp @@ -11,7 +11,6 @@ FilePropertiesWindow::FilePropertiesWindow(QString path, physis_Buffer buffer, QWidget *parent) : QWidget(parent) - , data(data) { setWindowTitle(QStringLiteral("Properties for ") + path); diff --git a/sagasu/src/hashdatabase.cpp b/sagasu/src/hashdatabase.cpp index 387cf0c..4cacda6 100644 --- a/sagasu/src/hashdatabase.cpp +++ b/sagasu/src/hashdatabase.cpp @@ -92,3 +92,5 @@ QString HashDatabase::getFilename(const uint32_t i) return query.value(0).toString(); } + +#include "moc_hashdatabase.cpp" \ No newline at end of file