mnemonics: remove dockwidget hack
This commit is contained in:
parent
7e2e8b9731
commit
bdc4e74ccf
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
@ -62,7 +62,7 @@
|
|||
<normaloff>.</normaloff>.</iconset>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>Document Outline</string>
|
||||
<string>Document &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>&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>&History</string>
|
||||
</property>
|
||||
<property name="_shortcut" stdset="0">
|
||||
<string>Ctrl+H</string>
|
||||
|
|
Loading…
Reference in New Issue