mirror of
https://github.com/KDE/konsole.git
synced 2026-05-05 13:14:22 -04:00
Fix compile.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=837743
This commit is contained in:
@@ -396,7 +396,8 @@ void MainWindow::showShortcutsDialog()
|
||||
// sync shortcuts for non-session actions (defined in "konsoleui.rc") in other main windows
|
||||
foreach(QWidget* widget, QApplication::topLevelWidgets())
|
||||
{
|
||||
if (MainWindow* window = qobject_cast<MainWindow*>(widget) && window != this)
|
||||
MainWindow* window = qobject_cast<MainWindow*>(widget);
|
||||
if (window && window != this)
|
||||
syncActiveShortcuts(window->actionCollection(),actionCollection());
|
||||
}
|
||||
// sync shortcuts for session actions (defined in "sessionui.rc") in other session controllers.
|
||||
|
||||
Reference in New Issue
Block a user