aboutsummaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index ea34b74..18cc557 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -50,6 +50,15 @@ MainWindow::MainWindow(QApplication * app, QWidget *parent) :
QAction * act = dock->toggleViewAction();
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);
}