summaryrefslogtreecommitdiffstats
path: root/src/widgets/kernel/qapplication_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/widgets/kernel/qapplication_p.h')
-rw-r--r--src/widgets/kernel/qapplication_p.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/widgets/kernel/qapplication_p.h b/src/widgets/kernel/qapplication_p.h
index 6efee02195..e466528cfb 100644
--- a/src/widgets/kernel/qapplication_p.h
+++ b/src/widgets/kernel/qapplication_p.h
@@ -287,7 +287,10 @@ public:
{ --threadData->loopLevel; }
};
-typedef QHash<QByteArray, QFont> FontHash;
+struct FontHash : public QHash<QByteArray, QFont>
+{
+ FontHash();
+};
FontHash *qt_app_fonts_hash();
typedef QHash<QByteArray, QPalette> PaletteHash;