From fc203cc4c997de34b7e6f696955e44f9fa18f84b Mon Sep 17 00:00:00 2001 From: dmv Date: Wed, 21 Jan 2009 13:51:59 +0000 Subject: [PATCH] IPAL20730 Qt4 porting. Title with name of object is missing in pop-up appeared in viewers. --- src/STD/STD_Application.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/STD/STD_Application.cxx b/src/STD/STD_Application.cxx index bc5650da7..eefdd5165 100755 --- a/src/STD/STD_Application.cxx +++ b/src/STD/STD_Application.cxx @@ -32,6 +32,7 @@ #include #include +#include #include #include @@ -782,11 +783,11 @@ void STD_Application::setActiveViewManager( SUIT_ViewManager* vm ) /*!Public slot. */ void STD_Application::onConnectPopupRequest( SUIT_PopupClient* client, QContextMenuEvent* e ) { - QMenu* popup = new QMenu(); + QtxMenu* popup = new QtxMenu(); // fill popup by own items QString title; contextMenuPopup( client->popupClientType(), popup, title ); - popup->setTitle( title ); + popup->setTitleText( title ); popup->addSeparator(); // add items from popup client -- 2.39.2