konqueror: eliminate signal and shortcut warnings

Review Request #127006 - Created Feb. 7, 2016 and submitted

Information
Jonathan Marten
kde-baseapps
fremeworks
Reviewers
kde-baseapps
These changes to Konqueror's setting up of actions eliminate the runtime debug messages:

konqueror(3420)/default err_method_notfound: QObject::connect: No such signal QAction::triggered(Qt::MouseButtons,Qt::KeyboardModifiers) in /ws/frameworks/applications/kdebaseapps/konqueror/src/konqmainwindow.cpp:3637

and one for each action:

konqueror(3420)/default KXMLGUIFactoryPrivate::saveDefaultActionProperties: Shortcut for action  "new_window" "New &Window" set with QAction::setShortcut()! Use KActionCollection::setDefaultShortcut(s) instead.

and also a number of compiler warnings:

konqueror/src/konqmainwindow.cpp:3705: warning: ‘KShortcut’ is deprecated
Built Konqueror with these changes.  Observed absence of those compiler and runtime error messages, checked correct operation of key shortcuts.
David Faure
Jonathan Marten
Review request changed

Status: Closed (submitted)

Change Summary:

Submitted with commit fc5e0160d81c4fad2e54e2cf31e09395634d7783 by Jonathan Marten to branch frameworks.
Loading...