From 994b1e1066e0b82c1aff23fba8a87972f781bc24 Mon Sep 17 00:00:00 2001 From: Aleix Pol Date: Mon, 5 Jul 2021 16:36:13 +0200 Subject: [PATCH] qt: Make Pool's parent class public It's not the default but what we generally do. It allows us to call parent class methods normally. --- qt/pool.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qt/pool.h b/qt/pool.h index 001e07f2..6d8d54aa 100644 --- a/qt/pool.h +++ b/qt/pool.h @@ -35,7 +35,7 @@ namespace AppStream { * See http://www.freedesktop.org/wiki/Distributions/AppStream/ for details */ class PoolPrivate; -class APPSTREAMQT_EXPORT Pool : QObject{ +class APPSTREAMQT_EXPORT Pool : public QObject { Q_OBJECT public: Pool(QObject *parent = nullptr);