Bug 364124

Summary: Runtime warning on running with KDE frameworks 5
Product: [Applications] umbrello Reporter: Ralf Habacker <ralf.habacker>
Component: generalAssignee: Umbrello Development Group <umbrello-devel>
Status: REPORTED ---    
Severity: normal CC: aheays
Priority: NOR    
Version: Git   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:

Description Ralf Habacker 2016-06-09 06:18:04 UTC
Running umbrello with KF5 framework from git master branch shows the following messages. which should be fixed.

Shortcut for action  "delete_selected" "Auswahl lös&chen" set with QAction::setShortcut()! Use KActionCollection::setDefaultShortcut(s) instead.
Shortcut for action  "move_tab_left" "&Unterfenster nach links bewegen" set with QAction::setShortcut()! Use KActionCollection::setDefaultShortcut(s) instead.
Shortcut for action  "move_tab_right" "&Unterfenster nach rechts bewegen" set with QAction::setShortcut()! Use KActionCollection::setDefaultShortcut(s) instead.
Shortcut for action  "previous_tab" "Linkes Diagramm wählen" set with QAction::setShortcut()! Use KActionCollection::setDefaultShortcut(s) instead.
Shortcut for action  "next_tab" "Rechtes Diagramm wählen" set with QAction::setShortcut()! Use KActionCollection::setDefaultShortcut(s) instead.


Reproducible: Always

Steps to Reproduce:
1. start umbrello/kf5


Actual Results:  
The mentioned warnings appear.

Expected Results:  
The warnings should not appear.
Comment 1 aheays 2021-09-24 07:50:01 UTC
I report a similar console message occurring for okular when a shortcut is defined for "Main Toolbar":

kf.xmlgui: Shortcut for action  "mainToolBar" "Show Toolbar" set with QAction::setShortcut()! Use KActionCollection::setDefaultShortcut(s) instead.