From c90fa3734cd7351a75787a3bd11d1598a68bb000 Mon Sep 17 00:00:00 2001 From: san Date: Wed, 28 Sep 2011 11:48:38 +0000 Subject: [PATCH] Use QtxMenu (allow to use collapsed menus) instead QMenu as context menu in STD_Application. --- src/STD/STD_Application.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/STD/STD_Application.cxx b/src/STD/STD_Application.cxx index 645206233..c2715b470 100755 --- a/src/STD/STD_Application.cxx +++ b/src/STD/STD_Application.cxx @@ -28,11 +28,11 @@ #include #include +#include #include #include #include -#include #include #include #include @@ -779,7 +779,7 @@ void STD_Application::setActiveViewManager( SUIT_ViewManager* vm ) /*!Public slot. */ void STD_Application::onConnectPopupRequest( SUIT_PopupClient* client, QContextMenuEvent* e ) { - QMenu* popup = new QMenu(); + QMenu* popup = new QtxMenu(); // fill popup by own items QString title; contextMenuPopup( client->popupClientType(), popup, title ); -- 2.39.2