From: san Date: Wed, 28 Sep 2011 11:48:38 +0000 (+0000) Subject: Use QtxMenu (allow to use collapsed menus) instead QMenu as context menu in STD_Appli... X-Git-Tag: BR_HDF_dev_for_QT_QWT~5 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=c90fa3734cd7351a75787a3bd11d1598a68bb000;p=modules%2Fgui.git Use QtxMenu (allow to use collapsed menus) instead QMenu as context menu in STD_Application. --- 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 );