Skip to content
Commit 429936da authored by Stefano Crocco's avatar Stefano Crocco
Browse files

Fix crash caused by using original view rather than actual view

UrlLoader::decideEmbedOrSave used the original view when deciding
whether it could be reused to open the URL, instead of using the view
provided using UrlLoader::setView. If the URL was opened by clicking on
a sidebar item, this caused a sidebar view to be used, rather than the
correct dolphin part. This lead to a crash because the sidebar view is
a passive view, which caused KonqViewManager::chooseNextView to return
nullptr

BUG: 458933


(cherry picked from commit c9f3d195)
parent 64b114ee
Loading
Loading
Loading
Pipeline #235636 passed with stage
in 7 minutes and 37 seconds
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment