use qGuiApp instead of qApp
This commit is contained in:
parent
a9d3d9a81a
commit
1a804c33e2
@ -578,7 +578,7 @@ void SvgPrivate::checkColorHints()
|
|||||||
|
|
||||||
// check to see if we are using colors, but the theme isn't being used or isn't providing
|
// check to see if we are using colors, but the theme isn't being used or isn't providing
|
||||||
// a colorscheme
|
// a colorscheme
|
||||||
if (qApp) {
|
if (qGuiApp) {
|
||||||
if (usesColors && (!themed || !actualTheme()->colorScheme())) {
|
if (usesColors && (!themed || !actualTheme()->colorScheme())) {
|
||||||
QObject::connect(actualTheme()->d, SIGNAL(applicationPaletteChange()), q, SLOT(colorsChanged()));
|
QObject::connect(actualTheme()->d, SIGNAL(applicationPaletteChange()), q, SLOT(colorsChanged()));
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user