]> cloud.milkyroute.net Git - dolphin.git/commit
Use setShowOpenOrExecuteDialog(true) with OpenUrlJob
authorAhmad Samir <a.samirh78@gmail.com>
Mon, 14 Dec 2020 22:40:12 +0000 (00:40 +0200)
committerAhmad Samir <a.samirh78@gmail.com>
Wed, 16 Dec 2020 21:51:06 +0000 (23:51 +0200)
commitc03b43b4a1132ca7bc6db4a1583bc8bd1578b44f
tree25392d23ef7944fd2e0ac0b898db2b227c4781d2
parentc95d7fae79a309ed7f2df393fa20257cb20d54a8
Use setShowOpenOrExecuteDialog(true) with OpenUrlJob

It makes more sense for a file manager to always ask the user:
 - whether to execute binaries
 - whether to open an executable script as text or execute it

The openOrExecute dialog from KIOWidgets has a "don't ask again" checkbox,
and that setting is also accessible from Dolphin's settings dialog.

See the discussion at https://bugs.kde.org/show_bug.cgi?id=429839#c10
src/dolphinmainwindow.cpp
src/dolphinviewcontainer.cpp