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();
|
||||
|
||||
#ifndef QT_NO_TOOLTIP
|
||||
if (const QPalette *toolTipPalette = QGuiApplicationPrivate::platformTheme()->palette(QPlatformTheme::ToolTipPalette))
|
||||
QToolTip::setPalette(*toolTipPalette);
|
||||
#endif
|
||||
|
||||
QApplicationPrivate::initializeWidgetFontHash();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user