diff options
author | Alessandro Portale <aportale@trolltech.com> | 2009-06-12 19:14:05 (GMT) |
---|---|---|
committer | Alessandro Portale <aportale@trolltech.com> | 2009-06-12 19:14:05 (GMT) |
commit | 9b34c6dffcb19664e336d4b51092e042e861f475 (patch) | |
tree | abaf1e7036d2a0a7b98b2a5ad48d84950e7f382b /src | |
parent | 1a97bc5091f8b302940b7cc8eb1dbb55c3411d64 (diff) | |
download | Qt-9b34c6dffcb19664e336d4b51092e042e861f475.zip Qt-9b34c6dffcb19664e336d4b51092e042e861f475.tar.gz Qt-9b34c6dffcb19664e336d4b51092e042e861f475.tar.bz2 |
Translate "Actions" text
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/widgets/qmenu_symbian.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/gui/widgets/qmenu_symbian.cpp b/src/gui/widgets/qmenu_symbian.cpp index 8983a50..69ce981 100644 --- a/src/gui/widgets/qmenu_symbian.cpp +++ b/src/gui/widgets/qmenu_symbian.cpp @@ -303,7 +303,7 @@ QMenuBarPrivate::QSymbianMenuBarPrivate::~QSymbianMenuBarPrivate() deleteAll( &symbianMenus ); symbianMenus.clear(); d = 0; - rebuild(); + rebuild(); } QMenuPrivate::QSymbianMenuPrivate::QSymbianMenuPrivate() @@ -393,7 +393,7 @@ void QMenuBarPrivate::QSymbianMenuBarPrivate::insertNativeMenuItems(const QList< symbianActionTopLevel->parent = 0; symbianActionTopLevel->command = qt_symbian_menu_static_cmd_id++; qt_symbian_insert_action(symbianActionTopLevel, &symbianMenus); - } + } } @@ -409,11 +409,10 @@ void QMenuBarPrivate::QSymbianMenuBarPrivate::rebuild() contextMenuActionList.clear(); if (widgetWithContextMenu) { contexMenuCommand = qt_symbian_menu_static_cmd_id; - contextAction.setText(QString("Actions")); + contextAction.setText(QMenuBar::tr("Actions")); contextMenuActionList.append(&contextAction); insertNativeMenuItems(contextMenuActionList); } - } QT_END_NAMESPACE |