Don't add QLayouts to QWidgets that already have one (#4672)

This commit is contained in:
nerix
2023-06-10 12:55:47 +02:00
committed by GitHub
parent f0c4eb7caa
commit 335dff53af
6 changed files with 7 additions and 6 deletions
+1 -1
View File
@@ -1124,7 +1124,7 @@ void Split::showViewerList()
viewerDock->move(0, this->header_->height());
auto multiWidget = new QWidget(viewerDock);
auto dockVbox = new QVBoxLayout(viewerDock);
auto *dockVbox = new QVBoxLayout();
auto searchBar = new QLineEdit(viewerDock);
auto chattersList = new QListWidget();