]> cloud.milkyroute.net Git - dolphin.git/commit
Fix layout warning
authorElvis Angelaccio <elvis.angelaccio@kde.org>
Fri, 21 Jul 2017 10:09:17 +0000 (12:09 +0200)
committerElvis Angelaccio <elvis.angelaccio@kde.org>
Fri, 21 Jul 2017 10:09:17 +0000 (12:09 +0200)
commit9f86b5a266ff546ae4962a1e1e95a5a444d868e8
treef7f05c81e253efdc5f27c4b53ac92538e89e5836
parentfccb89fc5c7adbf5c541eefd46dfa2ebae3a9cc9
Fix layout warning

This fixes the following warning:

    QLayout: Attempting to add QLayout "" to PreviewsSettingsPage "", which already has a layout

`topLayout->addLayout(fileSizeBoxLayout)` takes ownership of
`fileSizeBoxLayout`, so there is no reason to use `this` as parent.
src/settings/general/previewssettingspage.cpp