From a84a28fbea3ebb2f8ad3d1968e8dc2592e5a1bea Mon Sep 17 00:00:00 2001 From: vsr Date: Wed, 20 Jun 2007 15:14:57 +0000 Subject: [PATCH] Porting to Qt 4 --- src/LightApp/LightApp_Application.cxx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/LightApp/LightApp_Application.cxx b/src/LightApp/LightApp_Application.cxx index 0cf3629c8..f24531794 100644 --- a/src/LightApp/LightApp_Application.cxx +++ b/src/LightApp/LightApp_Application.cxx @@ -541,6 +541,11 @@ void LightApp_Application::createActions() if( modList.count()>1 ) { + QToolBar* modTBar = new QtxToolBar( true, desk ); + modTBar->setObjectName( "ModuleToolBar" ); + modTBar->setWindowTitle( tr( "INF_TOOLBAR_MODULES" ) ); + desktop()->addToolBar( Qt::TopToolBarArea, modTBar ); + myModuleAction = new LightApp_ModuleAction( tr( "APP_NAME" ), defIcon, desk ); QMap iconMap; -- 2.39.2