The source project of this merge request has been removed.
FileChooser: Properly handle mnemonics in 'accept_label'
requested to merge (removed):michaelweghorn/filechooser_properly_handle_mnemonics_in_accept_label into master
The FileChooser portal doc 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.
This fixes https://bugs.kde.org/show_bug.cgi?id=422340