aboutsummaryrefslogtreecommitdiff
path: root/confui/ui_scroll_container.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'confui/ui_scroll_container.cpp')
-rw-r--r--confui/ui_scroll_container.cpp15
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); }