From a354d3cfc491f34107d712de4f4216f1e4f35098 Mon Sep 17 00:00:00 2001 From: Arno Date: Sat, 16 Apr 2022 02:20:43 +0200 Subject: Make it compile with qt6 *BIG FAT WARNING* Took me a while to figure it out, but the database connection only works with MINGW64 instead of MINGW32! With the latter loading the SQL Plugin fails! That said, off to brighter shores :) --- filedisplay.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'filedisplay.h') diff --git a/filedisplay.h b/filedisplay.h index 284c06d..822c502 100644 --- a/filedisplay.h +++ b/filedisplay.h @@ -15,7 +15,7 @@ class FileData; class FileDisplay : public QDialog { Q_OBJECT public: - explicit FileDisplay(QWidget *parent = nullptr, Qt::WindowFlags f = nullptr); + explicit FileDisplay(QWidget *parent = nullptr); ~FileDisplay(); void setFileData(const QString &fullPath, const QString &md5Sum); @@ -31,7 +31,7 @@ class FileDisplay : public QDialog { class DBData : public QWidget { Q_OBJECT public: - explicit DBData(QWidget *parent = nullptr, Qt::WindowFlags f = nullptr); + explicit DBData(QWidget *parent = nullptr); void setFileData(const QString &fullPath, const QString &md5Sum); private: @@ -46,7 +46,7 @@ class DBData : public QWidget { class FileData : public QWidget { Q_OBJECT public: - explicit FileData(QWidget *parent = nullptr, Qt::WindowFlags f = nullptr); + explicit FileData(QWidget *parent = nullptr); ~FileData(); void setFileData(const QString &fullPath); -- cgit v1.2.3-70-g09d2