From: Alf Gaida Date: Tue, 29 Jan 2019 17:20:07 +0000 (+0100) Subject: Make setting trust possible anytime X-Git-Tag: archive/raspbian/0.14.0-3+rpi1~1^2~4 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=626021fd1a2de7b7e5e64bc4fa02fb0e7d6d1dee;p=libfm-qt.git Make setting trust possible anytime If a file is executable the option should be available in the context menu. The part && (!fileLauncher_ || !fileLauncher_->quickExec()) is superfluous in that case. fixes lxqt/libfm-qt/issues/354 Gbp-Pq: Name fix-trust.patch --- diff --git a/src/filemenu.cpp b/src/filemenu.cpp index 918c31f..61ab629 100644 --- a/src/filemenu.cpp +++ b/src/filemenu.cpp @@ -247,7 +247,7 @@ FileMenu::~FileMenu() { } void FileMenu::addTrustAction() { - if(info_->isExecutableType() && (!fileLauncher_ || !fileLauncher_->quickExec())) { + if(info_->isExecutableType()) { QAction* trustAction = new QAction(files_.size() > 1 ? tr("Trust selected executables") : tr("Trust this executable"),