From 520c05ef06ce203ad32470730f68402bc7719157 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 27 Feb 2012 02:13:42 -0600 Subject: Automated update from qt3 --- src/styles/qwindowsstyle.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/styles/qwindowsstyle.cpp') 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(qApp->focusWidget()); + } else if (tqApp->focusWidget() && tqApp->focusWidget()->isPopup()) { + popupMenu = ::qt_cast(tqApp->focusWidget()); TQMenuData *pm = popupMenu ? (TQMenuData*)popupMenu->qt_cast("TQMenuData") : 0; if (pm && ((FriendlyMenuData*)pm)->parentMenu == menuBar) { if (d->hasSeenAlt(menuBar)) -- cgit v1.2.1