Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Removed a redundant child-parent relation in pathbar (#968)
In `PathBar`, `buttonsWidget_` becomes the child of `scrollArea_` when `QScrollArea::setWidget()` is called. So, there was no need to set `PathBar` as its parent. NOTE: The reason I noticed this what that I encountered a crash in `QScrollArea::~QScrollArea()` with Qt 6.7, but only once. There have been other cases which show that something has changed about deleting objects in Qt 6.7 (see lxqt/lximage-qt#666 and lxqt/lxqt-notificationd#375). Regardless of whether it's about a new Qt bug or not, the patches are logical.
- Loading branch information