diff options
| author | Ahmad Samir <[email protected]> | 2020-12-16 23:53:57 +0200 |
|---|---|---|
| committer | Ahmad Samir <[email protected]> | 2020-12-16 23:53:57 +0200 |
| commit | d74853ef850fdabf2dfad8fcbe634af8185fce36 (patch) | |
| tree | bd14164e9ebd959b3c82932ad514842b47fbbbcb /src | |
| parent | 1b192c67f9735cd724c4958e7ba32a7b549770b6 (diff) | |
| parent | c03b43b4a1132ca7bc6db4a1583bc8bd1578b44f (diff) | |
Merge branch 'release/20.12'
Diffstat (limited to 'src')
| -rw-r--r-- | src/dolphinmainwindow.cpp | 2 | ||||
| -rw-r--r-- | src/dolphinviewcontainer.cpp | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp index 27949fb17..96ca3d448 100644 --- a/src/dolphinmainwindow.cpp +++ b/src/dolphinmainwindow.cpp @@ -1091,7 +1091,7 @@ void DolphinMainWindow::handleUrl(const QUrl& url) } else { m_lastHandleUrlOpenJob = new KIO::OpenUrlJob(url); m_lastHandleUrlOpenJob->setUiDelegate(new KIO::JobUiDelegate(KJobUiDelegate::AutoHandlingEnabled, this)); - m_lastHandleUrlOpenJob->setRunExecutables(true); + m_lastHandleUrlOpenJob->setShowOpenOrExecuteDialog(true); connect(m_lastHandleUrlOpenJob, &KIO::OpenUrlJob::mimeTypeFound, this, [this, url](const QString &mimetype) { diff --git a/src/dolphinviewcontainer.cpp b/src/dolphinviewcontainer.cpp index 8dd309314..7053c4a6b 100644 --- a/src/dolphinviewcontainer.cpp +++ b/src/dolphinviewcontainer.cpp @@ -638,7 +638,6 @@ void DolphinViewContainer::slotItemActivated(const KFileItem& item) } KIO::OpenUrlJob *job = new KIO::OpenUrlJob(item.targetUrl()); - job->setRunExecutables(true); job->setUiDelegate(new KIO::JobUiDelegate(KJobUiDelegate::AutoHandlingEnabled, this)); job->setShowOpenOrExecuteDialog(true); job->start(); |
