diff options
author | Friedemann Kleint <Friedemann.Kleint@theqtcompany.com> | 2016-01-20 09:36:35 +0100 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@theqtcompany.com> | 2016-01-21 06:02:20 +0000 |
commit | 26379d0320637b11519a2f161fb458eb9360ed88 (patch) | |
tree | 518be14190332e67d1dba94797655d793eaf56af /src/platformsupport/linuxaccessibility | |
parent | 1f9a06c2949cd206235e75d20d0183fee927cb3e (diff) |
QGnomeTheme: Change the QFont members to pointer members.
When initializing the font members in the QGnomeTheme constructor,
the QFont constructor called QGuiApplication::font() which in
turn calls initFontUnlocked(), initializing
QGuiApplicationPrivate::app_font to QPlatformFontDatabase::defaultFont()
("Deja Vu 12") since QGuiApplicationPrivate::platformTheme() is still
0 at that point.
Change the fonts to pointer members and initialize them
delayed in QGnomeThemePrivate::configureFonts() instead.
Task-number: QTBUG-49095
Change-Id: I3282ea8484e04827be2a424f5ea3e34d607c4bc5
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
Diffstat (limited to 'src/platformsupport/linuxaccessibility')
0 files changed, 0 insertions, 0 deletions