diff options
Diffstat (limited to 'tqtinterface/qt4/src/widgets/tqpopupmenu.cpp')
| -rw-r--r-- | tqtinterface/qt4/src/widgets/tqpopupmenu.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tqtinterface/qt4/src/widgets/tqpopupmenu.cpp b/tqtinterface/qt4/src/widgets/tqpopupmenu.cpp index 993c065..89f525a 100644 --- a/tqtinterface/qt4/src/widgets/tqpopupmenu.cpp +++ b/tqtinterface/qt4/src/widgets/tqpopupmenu.cpp @@ -603,7 +603,7 @@ void TQPopupMenu::popup( const TQPoint &pos, int indexAtPoint ) if( tqparent == NULL ) tqparent = TQApplication::widgetAt( pos ); if( tqparent == NULL ) - tqparent = tqApp->activeWindow(); + tqparent = TQT_TQWIDGET(tqApp->activeWindow()); if( tqparent != NULL ) x11SetWindowTransient( tqparent ); } @@ -2387,7 +2387,7 @@ void TQPopupMenu::subMenuTimer() { TQPoint p; TQSize ps = popup->tqsizeHint(); // GUI Style - int gs = style().tqstyleHint(TQStyle::SH_GUIStyle); + int gs = tqstyle().tqstyleHint(TQStyle::SH_GUIStyle); int arrowHMargin, arrowVMargin; if (gs == GtkStyle) { arrowHMargin = gtkArrowHMargin; |
