• Nicolas Fella's avatar
    Respect users prefered text editor for shared text · 47749792
    Nicolas Fella authored
    A user may have Kate installed but another editor set as default for text/plain. Respect that.
    Also add .txt extension to the temp file name to make mime-type detection easier.
    BUG: 399174
    Test Plan:
    Set default text editor to Kate -> Text opens in Kate
    Set default text editor to Atom -> Text opens in Atom
    Reviewers: #kde_connect, broulik, apol
    Reviewed By: #kde_connect, broulik, apol
    Subscribers: kdeconnect
    Tags: #kde_connect
    Differential Revision: https://phabricator.kde.org/D15813
CMakeLists.txt 3.81 KB