summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAlessandro Portale <aportale@trolltech.com>2009-06-12 19:14:05 (GMT)
committerAlessandro Portale <aportale@trolltech.com>2009-06-12 19:14:05 (GMT)
commit9b34c6dffcb19664e336d4b51092e042e861f475 (patch)
treeabaf1e7036d2a0a7b98b2a5ad48d84950e7f382b /src
parent1a97bc5091f8b302940b7cc8eb1dbb55c3411d64 (diff)
downloadQt-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.cpp7
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