Windows: Fix drop shadows for widget tool tips.
Change-Id: Ifacee152e291face69964471d75e92b7784be4a4 Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com> Reviewed-by: Oliver Wolff <oliver.wolff@digia.com> Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
This commit is contained in:
parent
2fa3d365ac
commit
c29e93c79f
@ -877,7 +877,12 @@ void QWidgetPrivate::createTLSysExtra()
|
||||
extra->topextra->window->setMinimumSize(QSize(extra->minw, extra->minh));
|
||||
if (extra->maxw != QWIDGETSIZE_MAX || extra->maxh != QWIDGETSIZE_MAX)
|
||||
extra->topextra->window->setMaximumSize(QSize(extra->maxw, extra->maxh));
|
||||
#ifdef Q_OS_WIN
|
||||
if (q->inherits("QTipLabel") || q->inherits("QAlphaWidget"))
|
||||
extra->topextra->window->setProperty("_q_windowsDropShadow", QVariant(true));
|
||||
#endif
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
void QWidgetPrivate::deleteTLSysExtra()
|
||||
|
Loading…
Reference in New Issue
Block a user