aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMike Skec <skec@protonmail.ch>2021-03-12 17:43:02 +1100
committerFelix Queißner <felix@ib-queissner.de>2021-03-12 10:35:57 +0100
commitbdc4e74ccf3c4b790181e4a4c03c7512080a0002 (patch)
treedaa96a80c5585709a4c828af898e4a832ec319eb /src
parent7e2e8b973163e1716a08da7c798b1a7c0953fee1 (diff)
downloadkristall-bdc4e74ccf3c4b790181e4a4c03c7512080a0002.tar.gz
mnemonics: remove dockwidget hack
Diffstat (limited to 'src')
-rw-r--r--src/mainwindow.cpp8
-rw-r--r--src/mainwindow.ui6
2 files changed, 3 insertions, 11 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index 18cc557..66406ae 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -51,14 +51,6 @@ MainWindow::MainWindow(QApplication * app, QWidget *parent) :
act->setShortcut(dock->property("_shortcut").toString());
// act->setIcon(dock->windowIcon());
- // TODO: make this work in non-English languages somehow
- if (act->text() == "Document Outline")
- act->setText("Document &Outline");
- else if (act->text() == "Favourites")
- act->setText("&Favourites");
- else if (act->text() == "History")
- act->setText("&History");
-
this->ui->menuView->addAction(act);
}
diff --git a/src/mainwindow.ui b/src/mainwindow.ui
index c85bd22..cf50255 100644
--- a/src/mainwindow.ui
+++ b/src/mainwindow.ui
@@ -62,7 +62,7 @@
<normaloff>.</normaloff>.</iconset>
</property>
<property name="windowTitle">
- <string>Document Outline</string>
+ <string>Document &amp;Outline</string>
</property>
<property name="_shortcut" stdset="0">
<string>Ctrl+M</string>
@@ -103,7 +103,7 @@
<normaloff>.</normaloff>.</iconset>
</property>
<property name="windowTitle">
- <string>Favourites</string>
+ <string>&amp;Favourites</string>
</property>
<property name="_shortcut" stdset="0">
<string>Ctrl+B</string>
@@ -147,7 +147,7 @@
<normaloff>.</normaloff>.</iconset>
</property>
<property name="windowTitle">
- <string>History</string>
+ <string>&amp;History</string>
</property>
<property name="_shortcut" stdset="0">
<string>Ctrl+H</string>