summaryrefslogtreecommitdiffstats
path: root/src/styles/qwindowsstyle.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/styles/qwindowsstyle.cpp')
-rw-r--r--src/styles/qwindowsstyle.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/styles/qwindowsstyle.cpp b/src/styles/qwindowsstyle.cpp
index 92c6de147..b58eb9d86 100644
--- a/src/styles/qwindowsstyle.cpp
+++ b/src/styles/qwindowsstyle.cpp
@@ -2096,8 +2096,8 @@ int TQWindowsStyle::styleHint( StyleHint hint,
ret = 1;
} else if (d->altDown()) {
ret = 1;
- } else if (qApp->focusWidget() && qApp->focusWidget()->isPopup()) {
- popupMenu = ::qt_cast<TQPopupMenu*>(qApp->focusWidget());
+ } else if (tqApp->focusWidget() && tqApp->focusWidget()->isPopup()) {
+ popupMenu = ::qt_cast<TQPopupMenu*>(tqApp->focusWidget());
TQMenuData *pm = popupMenu ? (TQMenuData*)popupMenu->qt_cast("TQMenuData") : 0;
if (pm && ((FriendlyMenuData*)pm)->parentMenu == menuBar) {
if (d->hasSeenAlt(menuBar))