Commit a86b69d2 authored by Michael Reeves's avatar Michael Reeves

*fix QAction related warnings.

parent de21afa3
......@@ -66,7 +66,7 @@ namespace KDiff3 {
const char* actionName)
{
T* theAction = createAction<T>( text, receiver, slot, ac, actionName );
theAction->setShortcut( shortcut );
ac->setDefaultShortcut(theAction, shortcut);
return theAction;
}
template <class T>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment