mirror of
https://github.com/KDE/konsole.git
synced 2026-06-11 15:35:09 -04:00
remove accel markers
so that the top menubar doesn't conflict with Alt+<x> shortcuts
This commit is contained in:
@@ -168,12 +168,7 @@ void MainWindow::rememberMenuAccelerators()
|
||||
void MainWindow::removeMenuAccelerators()
|
||||
{
|
||||
foreach(QAction* menuItem, menuBar()->actions()) {
|
||||
QString itemText = menuItem->text();
|
||||
#pragma message("TODO: How to port KLocale::removeAcceleratorMarker()?")
|
||||
#if 0
|
||||
itemText = KGlobal::locale()->removeAcceleratorMarker(itemText);
|
||||
#endif
|
||||
menuItem->setText(itemText);
|
||||
menuItem->setText(menuItem->text().replace('&', QString()));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user