compile with QT_NO_TOOLTIP
Change-Id: I9e769a343a9dd74dc80cffebfe9ad97981596036 Reviewed-by: David Faure <david.faure@kdab.com>
This commit is contained in:
parent
2568f8ab24
commit
4d178743e4
@ -421,8 +421,11 @@ void qt_init(QApplicationPrivate *priv, int type)
|
|||||||
|
|
||||||
QColormap::initialize();
|
QColormap::initialize();
|
||||||
|
|
||||||
|
#ifndef QT_NO_TOOLTIP
|
||||||
if (const QPalette *toolTipPalette = QGuiApplicationPrivate::platformTheme()->palette(QPlatformTheme::ToolTipPalette))
|
if (const QPalette *toolTipPalette = QGuiApplicationPrivate::platformTheme()->palette(QPlatformTheme::ToolTipPalette))
|
||||||
QToolTip::setPalette(*toolTipPalette);
|
QToolTip::setPalette(*toolTipPalette);
|
||||||
|
#endif
|
||||||
|
|
||||||
QApplicationPrivate::initializeWidgetFontHash();
|
QApplicationPrivate::initializeWidgetFontHash();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user