]> cloud.milkyroute.net Git - dolphin.git/commit
Port to KTerminalLauncherJob
authorNate Graham <nate@kde.org>
Tue, 31 Aug 2021 15:09:14 +0000 (09:09 -0600)
committerNate Graham <nate@kde.org>
Tue, 31 Aug 2021 15:12:16 +0000 (09:12 -0600)
commit27bfcde4efaf936243fc41e4a61d0cac32105ef6
treebf6b8a9580032f4ccd7eb3b4334bd4d5ec2ba309
parent653d5714a7690bd2dca36a39fc92c0ab1926fab5
Port to KTerminalLauncherJob

Dolphin still uses KToolInvocation::invokeTerminal() which is
deprecated and requires KInit. However Dolphin was ported away from
requiring it in other ways, so it is now possible to have Dolphin
running but not KInit, which breaks the "Open in Terminal"
functionality.

Using KTerminalLauncherJob fixes this. It was introduced in Frameworks
5.83, so the CMake dependency version is accordingly increased.

BUG: 441072
FIXED-IN: 21.12
CMakeLists.txt
src/dolphinmainwindow.cpp
src/dolphinpart.cpp