diff options
-rw-r--r-- | src/gui/kernel/qapplication_win.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/kernel/qapplication_win.cpp b/src/gui/kernel/qapplication_win.cpp index e6ebf2b..6cfa122 100644 --- a/src/gui/kernel/qapplication_win.cpp +++ b/src/gui/kernel/qapplication_win.cpp @@ -980,7 +980,7 @@ const QString qt_reg_winclass(QWidget *w) // register window class icon = true; } else if (w && (type == Qt::Tool || type == Qt::ToolTip)) { style = CS_DBLCLKS; - if (w->inherits("QTipLabel") || w->inherits("QAlphaWidget")) { + if (type == Qt::ToolTip || w->inherits("QTipLabel") || w->inherits("QAlphaWidget")) { if ((QSysInfo::WindowsVersion >= QSysInfo::WV_XP && (QSysInfo::WindowsVersion & QSysInfo::WV_NT_based))) { style |= CS_DROPSHADOW; |