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

Michael Weghorn <m.wegh...@posteo.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REPORTED                    |RESOLVED
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/xdg-desktop-portal-kde/c
                   |                            |ommit/daab5c525e7aa14fbd63f
                   |                            |678adc5f900e627a839
         Resolution|---                         |FIXED

--- Comment #5 from Michael Weghorn <m.wegh...@posteo.de> ---
Git commit daab5c525e7aa14fbd63f678adc5f900e627a839 by Michael Weghorn.
Committed on 25/07/2020 at 20:15.
Pushed by grulich into branch 'master'.

FileChooser: Properly handle mnemonics in 'accept_label'

The FileChooser portal doc [1] for 'accept_label' says:

> accept_label s
>
>     The label for the accept button. Mnemonic underlines are allowed.

Since Qt does not use underscores/underlines, but the ampersand
character ('&') for mnemonics, convert the retrieved
text accordingly, to make the mnemonic applied at the correct
position and preserve literal '&'s.

[1]
https://flatpak.github.io/xdg-desktop-portal/portal-docs.html#gdbus-org.freedesktop.impl.portal.FileChooser

M  +18   -8    src/filechooser.cpp
M  +2    -0    src/filechooser.h

https://invent.kde.org/plasma/xdg-desktop-portal-kde/commit/daab5c525e7aa14fbd63f678adc5f900e627a839

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

Reply via email to