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

Ahmad Samir <a.samir...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
      Latest Commit|                            |https://invent.kde.org/util
                   |                            |ities/konsole/commit/43c14e
                   |                            |980141d66b5c21b6bdee12c67d3
                   |                            |c4bf3f3
         Resolution|---                         |FIXED

--- Comment #4 from Ahmad Samir <a.samir...@gmail.com> ---
Git commit 43c14e980141d66b5c21b6bdee12c67d3c4bf3f3 by Ahmad Samir.
Committed on 12/01/2021 at 16:27.
Pushed by hindenburg into branch 'master'.

FileFilterHotspot: check the mime type before opening with text editor

When activating a file filter hot spot, everything got opened with the text
editor specified in the profile settings, which is wrong e.g. with pdf or
png files. Check the mime type of the file path, based only on the extension
so as to keep things fast.

Also rename openWithSysDefaultEditor() to openWithSysDefaultApp(), which is
more accurate.

M  +12   -4    src/filterHotSpots/FileFilterHotspot.cpp
M  +1    -1    src/filterHotSpots/FileFilterHotspot.h

https://invent.kde.org/utilities/konsole/commit/43c14e980141d66b5c21b6bdee12c67d3c4bf3f3

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

Reply via email to