diff options
Diffstat (limited to 'qtinterface/tqmenudata.cpp')
-rw-r--r-- | qtinterface/tqmenudata.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/qtinterface/tqmenudata.cpp b/qtinterface/tqmenudata.cpp index 2b11965..625c54d 100644 --- a/qtinterface/tqmenudata.cpp +++ b/qtinterface/tqmenudata.cpp @@ -21,3 +21,12 @@ Boston, MA 02110-1301, USA. #include <tqt.h> #include <tqmenudata.h> + +#ifdef USE_QT4 + +Q3PopupMenu *QMenuItem::popup() const { + #warning "Badly broken/nonfunctional QMenuItem::popup() implementation!" + return &Q3PopupMenu(menu()); +} + +#endif // USE_QT4
\ No newline at end of file |