From 523fa5b0c614c67e2e4eb95a77952f87e41d91c7 Mon Sep 17 00:00:00 2001 From: przemek83 <4788832+przemek83@users.noreply.github.com> Date: Thu, 26 Dec 2024 20:07:04 +0100 Subject: [PATCH] Make wrapProgressBar static to improve encapsulation and usability. --- examples/Examples.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/examples/Examples.h b/examples/Examples.h index c542b29..896842a 100644 --- a/examples/Examples.h +++ b/examples/Examples.h @@ -30,8 +30,9 @@ class Examples : public QWidget FilterDates* getFilterDates(); FilterStrings* getFilterStrings(); QVBoxLayout* createLeftWidgetColumn(); - QGroupBox* wrapProgressBar(const QString& name, ProgressBar* progressBar, - QPushButton* startStopButton); + static QGroupBox* wrapProgressBar(const QString& name, + ProgressBar* progressBar, + QPushButton* startStopButton); QGroupBox* createProgressBarInfinite(); QGroupBox* createProgressBarCounter(); QVBoxLayout* createRightWidgetColumn();