]> cloud.milkyroute.net Git - dolphin.git/commit
Fix crash when lauching dolphin with a search scheme
authorIsmael Asensio <isma.af@mgmail.com>
Sun, 6 Oct 2019 09:34:30 +0000 (11:34 +0200)
committerElvis Angelaccio <elvis.angelaccio@kde.org>
Sun, 6 Oct 2019 09:34:30 +0000 (11:34 +0200)
commit31fd775f368f61f6dde54c0c3a2e83d65599c3c2
tree27713e9a5c4efe1516e09e827ca6878adc2a9e5f
parentd9d3b142b786b2bbc5729e9c0dc90c0dba478f64
Fix crash when lauching dolphin with a search scheme

Summary: Widget objects are initialized in `DolphinSearchBox::init()`, which is called on `QEvent::Polish`, so we must set it visible before calling `fromSearchUrl`.

Test Plan: `dolphin --new-window baloosearch://`

Reviewers: #dolphin, elvisangelaccio

Subscribers: kfm-devel

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D24432
src/dolphinviewcontainer.cpp