]> cloud.milkyroute.net Git - dolphin.git/commit
DolphinView: set the parent of layout in the ctor
authorAhmad Samir <a.samirh78@gmail.com>
Thu, 3 Dec 2020 18:06:11 +0000 (20:06 +0200)
committerAhmad Samir <a.samirh78@gmail.com>
Thu, 3 Dec 2020 19:50:04 +0000 (19:50 +0000)
commit1d64b9bb10e90a0c6a1053a3a41614caf0e0f8e4
tree604d650c815330b50d1193c65f82a6777ad7c3ed
parent134464177513cba0bb5e2f64875688f70e9a622b
DolphinView: set the parent of layout in the ctor

This silences a runtime warning:
QLayout: Attempting to add QLayout "" to DolphinView "", which already
has a layout

Remove redudant setLayout() calls, passing a parent widget to the
Q*BoxLayout ctor sets that layout as the top-level layout for that widget.
src/search/dolphinsearchbox.cpp
src/settings/general/configurepreviewplugindialog.cpp
src/settings/viewpropertiesdialog.cpp
src/settings/viewpropsprogressinfo.cpp
src/views/dolphinview.cpp