diff options
Diffstat (limited to 'src/widgets/qpopupmenu.cpp')
-rw-r--r-- | src/widgets/qpopupmenu.cpp | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/widgets/qpopupmenu.cpp b/src/widgets/qpopupmenu.cpp index 61f144f6e..051ef6d0b 100644 --- a/src/widgets/qpopupmenu.cpp +++ b/src/widgets/qpopupmenu.cpp @@ -502,22 +502,6 @@ void TQPopupMenu::popup( const TQPoint &pos, int indexAtPoint ) return; #endif -#if (TQT_VERSION-0 >= 0x040000) -#error "Fix this now" - // #### should move to TQWidget - anything might need this functionality, - // #### since anything can have WType_Popup window flag. - // #### This includes stuff in TQPushButton and some stuff for setting - // #### the geometry of TQDialog. - // TQPopupMenu - // ::exec() - // ::popup() - // TQPushButton (shouldn't require TQMenuPopup) - // ::popupPressed - // Some stuff in qwidget.cpp for dialogs... can't remember exactly. - // Also the code here indicatets the parameter should be a rect, not a - // point. -#endif - TQRect screen = screenRect( geometry().center()); TQRect screen2 = screenRect( TQApplication::reverseLayout() ? pos+TQPoint(width(),0) : pos ); |