]> cloud.milkyroute.net Git - dolphin.git/commit
When restoring former window state, append any URLs passed as args
authorNate Graham <nate@kde.org>
Tue, 6 Oct 2020 18:16:25 +0000 (12:16 -0600)
committerNate Graham <nate@kde.org>
Sun, 11 Oct 2020 17:02:49 +0000 (17:02 +0000)
commit4937992e93088bb572cda971bb899aed0e812aa3
treec73f39b00dfbb4b7fd559670a2a65ddc68ffbe10
parent95e34931c0eddd92e8b2a2e0ec6a12ec706955c3
When restoring former window state, append any URLs passed as args

Before, when Dolphin was closed but opened with any URLs, it would open
a new window with only those URLs, rather than restoring any window
state (if the user has this feature enabled).

Now, Dolphin will first restore state (if enabled) and then append any
URLs, rather than replacing the existing set of URLs.

The "new instance" case was previously handled automatically and now
needs to be explictly handled by checking for it, to make sure that new
instances give you a clean window rather than a state-restored window.

BUG: 427274
FIXED-IN: 20.12
src/main.cpp