summary refs log tree commit diff
path: root/src/MxcImageProvider.h
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2023-06-02 00:24:26 +0200
committerNicolas Werner <nicolas.werner@hotmail.de>2023-06-08 22:32:07 +0200
commitb518f6902e909b22e1623f96249a3ab1424ced59 (patch)
tree97fe4bdf0f2ffb1e35904c1d2111c6e566984d7c /src/MxcImageProvider.h
parentSelect Qt6 in cmake (diff)
downloadnheko-b518f6902e909b22e1623f96249a3ab1424ced59.tar.xz
Make Nheko compile on Qt6
Diffstat (limited to 'src/MxcImageProvider.h')
-rw-r--r--src/MxcImageProvider.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/MxcImageProvider.h b/src/MxcImageProvider.h
index 8096a7dc..b67e2f8d 100644
--- a/src/MxcImageProvider.h
+++ b/src/MxcImageProvider.h
@@ -72,16 +72,12 @@ public:
 
 class MxcImageProvider
   :
-#if QT_VERSION < 0x60000
-  public QObject
-  ,
-#endif
   public QQuickAsyncImageProvider
 {
     Q_OBJECT
 
 public:
-    MxcImageProvider(QObject *parent = nullptr);
+    MxcImageProvider();
 
 public slots:
     QQuickImageResponse *