summaryrefslogtreecommitdiffstats
path: root/src/widgets/qpopupmenu.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-07-09 23:09:59 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-07-09 23:09:59 +0900
commit83991febd2b98788a0a018e187de0dfb7d95b500 (patch)
treeec363502a3d11082cc54d17b7969f8ba605e1f01 /src/widgets/qpopupmenu.cpp
parent48ea22d00b58a37508567756b2955582cd9efe5a (diff)
downloadtqt3-83991febd2b98788a0a018e187de0dfb7d95b500.tar.gz
tqt3-83991febd2b98788a0a018e187de0dfb7d95b500.zip
Remove Qt4 related stuff
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/widgets/qpopupmenu.cpp')
-rw-r--r--src/widgets/qpopupmenu.cpp16
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 );