From bdc4e74ccf3c4b790181e4a4c03c7512080a0002 Mon Sep 17 00:00:00 2001 From: Mike Skec Date: Fri, 12 Mar 2021 17:43:02 +1100 Subject: mnemonics: remove dockwidget hack --- src/mainwindow.cpp | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/mainwindow.cpp') 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); } -- cgit v1.2.3