summaryrefslogtreecommitdiffstats
path: root/src/Authoring/Studio/Palettes/Slide
diff options
context:
space:
mode:
authorMiikka Heikkinen <miikka.heikkinen@qt.io>2018-05-14 15:12:19 +0300
committerMiikka Heikkinen <miikka.heikkinen@qt.io>2018-05-15 07:57:28 +0000
commitd9f5dffcdae2c36db9b7eca1bf2271b4df6cbf29 (patch)
tree3d52eb5003557ad90e4bbff48898119b6d714441 /src/Authoring/Studio/Palettes/Slide
parentea01b2449e688f023097a1a168ba8b5f8c842262 (diff)
Fix tooltips and shortcut display
- Added missing shortcuts to tooltips - Added missing tooltips - Unified popup menu shortcut display format Task-number: QT3DS-176 Change-Id: I3ee34c97764f0e0b4d67523b7ce3311945f926ee Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io> Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Diffstat (limited to 'src/Authoring/Studio/Palettes/Slide')
-rw-r--r--src/Authoring/Studio/Palettes/Slide/SlideContextMenu.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Authoring/Studio/Palettes/Slide/SlideContextMenu.cpp b/src/Authoring/Studio/Palettes/Slide/SlideContextMenu.cpp
index d60db3e4..7bd7efef 100644
--- a/src/Authoring/Studio/Palettes/Slide/SlideContextMenu.cpp
+++ b/src/Authoring/Studio/Palettes/Slide/SlideContextMenu.cpp
@@ -40,7 +40,7 @@ SlideContextMenu::SlideContextMenu(SlideView *parent, int row, int rowCount, boo
connect(action, &QAction::triggered, this, &SlideContextMenu::handleAddNewSlide);
addAction(action);
- action = new QAction(tr("Delete Slide\t(Del)"));
+ action = new QAction(tr("Delete Slide\tDel"));
action->setEnabled(!master && m_row != -1 && m_rowCount > 1);
connect(action, &QAction::triggered, this, &SlideContextMenu::handleRemoveSlide);
addAction(action);
@@ -49,7 +49,7 @@ SlideContextMenu::SlideContextMenu(SlideView *parent, int row, int rowCount, boo
#ifdef Q_OS_MACOS
ctrlKey = "⌘";
#endif
- action = new QAction(tr("Duplicate Slide\t(%1D)").arg(ctrlKey));
+ action = new QAction(tr("Duplicate Slide\t%1D").arg(ctrlKey));
action->setEnabled(!master && m_row != -1);
connect(action, &QAction::triggered, this, &SlideContextMenu::handleDuplicateSlide);
addAction(action);