Created
August 25, 2021 21:05
-
-
Save 2xsaiko/bba72f9cbfc13ffdb2df15836e7a343b to your computer and use it in GitHub Desktop.
Fix KDE not opening links in mime type associated application
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- a/src/widgets/krun.cpp 2020-12-19 00:28:01.038900544 +0100 | |
+++ b/src/widgets/krun.cpp 2020-12-19 00:28:13.410897823 +0100 | |
@@ -387,7 +387,7 @@ | |
m_followRedirections = true; | |
m_window = window; | |
m_asn = asn; | |
- q->setEnableExternalBrowser(true); | |
+ q->setEnableExternalBrowser(false); | |
// Start the timer. This means we will return to the event | |
// loop and do initialization afterwards. | |
--- a/src/gui/openurljob.cpp 2020-12-19 00:42:00.227781136 +0100 | |
+++ b/src/gui/openurljob.cpp 2020-12-19 00:42:14.238780191 +0100 | |
@@ -68,7 +68,7 @@ | |
bool m_deleteTemporaryFile = false; | |
bool m_runExecutables = false; | |
bool m_showOpenOrExecuteDialog = false; | |
- bool m_externalBrowserEnabled = true; | |
+ bool m_externalBrowserEnabled = false; | |
bool m_followRedirections = true; | |
private: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment