diff options
Diffstat (limited to 'experimental/tqtinterface/qt4/src/widgets/tqpopupmenu.cpp')
-rw-r--r-- | experimental/tqtinterface/qt4/src/widgets/tqpopupmenu.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/experimental/tqtinterface/qt4/src/widgets/tqpopupmenu.cpp b/experimental/tqtinterface/qt4/src/widgets/tqpopupmenu.cpp index 993c0653f..89f525aee 100644 --- a/experimental/tqtinterface/qt4/src/widgets/tqpopupmenu.cpp +++ b/experimental/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; |