https://bugs.kde.org/show_bug.cgi?id=516503

            Bug ID: 516503
           Summary: Use KActionCollection::setDefaultShortcut(s) instead
                    of QAction::setShortcut()
    Classification: Applications
           Product: gwenview
      Version First 25.12.1
       Reported In:
          Platform: Mageia RPMs
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

Some remaining "QAction::setShortcut()" should be replaced with
"KActionCollection::setDefaultShortcut(s)" like it was done in bug 462615 for
konsole and there is also bug 496207 with similar issue.

When you open a tar.gz file containing a png file and open this png you get an
error in the journalctl:

1. Compress a few png files into a ZIP or GZ or XZ archive.
2. Open the archive file with Ark to browse its contents.
3. Click on any png file within Ark to view it.
4. Run "journalctl -b -p err" to check for error messages.

You should have something like (probably coming from part/gvpart.cpp):

ark[1021639]: Shortcut for action  "file_show_properties" "Propriétés" set with
QAction::setShortcut()! Use KActionCollection::setDefaultShortcut(s) instead.


The remaining files are:

$ ack 'setShortcut'
lib/documentview/videoviewadapter.cpp
76:        mPlayPauseAction->setShortcut(Qt::Key_P);
81:        mMuteAction->setShortcut(Qt::Key_M);

lib/resize/resizeimagedialog.cpp
65:    okButton->setShortcut(Qt::CTRL | Qt::Key_Return);

part/gvpart.cpp
70:    action->setShortcut(QKeySequence(Qt::ALT | Qt::Key_Return));

app/filtercontroller.cpp
385:    action->setShortcut(shortcut);

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to