]> cloud.milkyroute.net Git - dolphin.git/commit
Fix middle-click not following the "Open archives as folder" setting
authorJin Liu <m.liu.jin@gmail.com>
Mon, 19 Aug 2024 11:15:23 +0000 (11:15 +0000)
committerFelix Ernst <felixernst@kde.org>
Mon, 19 Aug 2024 11:15:23 +0000 (11:15 +0000)
commit2b1906eeeabaf91b856d46e72390ae811747ec39
tree3858c977ff9517a1cd3f81f26e09d08a76afd60d
parenteac3abac9c9c5d243e905fcff13de7e127cadb0e
Fix middle-click not following the "Open archives as folder" setting

Previous to this commit middle-clicking an archive would always open it
in a new tab. This contradicts the recent change
d27ee07de7558470ef7b497fbe3d3504ce7cad07 which made it so middle-click
would open an item in the second application that is available to open
a file.

With this commit, middle-clicking will treat the archive like a folder
only when GeneralSettings::browseThroughArchives is enabled or when
there is no second application available. Otherwise middle-click will
open the archive in the second available application.
src/dolphincontextmenu.cpp
src/dolphinviewcontainer.cpp
src/views/dolphinview.cpp