diff options
author | lonkaars <loek@pipeframe.xyz> | 2022-12-10 13:49:39 +0100 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2022-12-10 13:49:39 +0100 |
commit | 931fbf84e5a46649c9adf073e9b3d1d776af0b54 (patch) | |
tree | d16f098aae7f646534f2f6cb8dc2820040a3384f /confui/ui_scroll_container.cpp | |
parent | 2baf3b730dc20c85e4a5aa2fb609dd4703695908 (diff) |
fix clang-format configuration and run `clang-format`
Diffstat (limited to 'confui/ui_scroll_container.cpp')
-rw-r--r-- | confui/ui_scroll_container.cpp | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/confui/ui_scroll_container.cpp b/confui/ui_scroll_container.cpp index 6b15221..af7c6fa 100644 --- a/confui/ui_scroll_container.cpp +++ b/confui/ui_scroll_container.cpp @@ -1,10 +1,10 @@ #include "ui_scroll_container.h" -CDScrollContainerLayout::~CDScrollContainerLayout() { } +CDScrollContainerLayout::~CDScrollContainerLayout() {} CDScrollContainerLayout::CDScrollContainerLayout(QWidget *parent) : QVBoxLayout(parent) { - scroll_area = new QScrollArea; + scroll_area = new QScrollArea; scroll_container = new QWidget; - scroll_inner = new QVBoxLayout; + scroll_inner = new QVBoxLayout; scroll_area->setWidgetResizable(true); scroll_area->setFrameShape(QFrame::NoFrame); @@ -20,11 +20,6 @@ CDScrollContainerLayout::CDScrollContainerLayout(QWidget *parent) : QVBoxLayout( QVBoxLayout::addWidget(scroll_area); } -void CDScrollContainerLayout::addWidget(QWidget* widget) { - scroll_inner->addWidget(widget); -} - -void CDScrollContainerLayout::removeWidget(QWidget* widget) { - scroll_inner->removeWidget(widget); -} +void CDScrollContainerLayout::addWidget(QWidget *widget) { scroll_inner->addWidget(widget); } +void CDScrollContainerLayout::removeWidget(QWidget *widget) { scroll_inner->removeWidget(widget); } |