mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-10-02 06:19:50 -05:00
Formatting changes
This commit is contained in:
@@ -7,7 +7,8 @@
|
||||
namespace advss {
|
||||
|
||||
Section::Section(const int animationDuration, QWidget *parent)
|
||||
: QWidget(parent), _animationDuration(animationDuration)
|
||||
: QWidget(parent),
|
||||
_animationDuration(animationDuration)
|
||||
{
|
||||
_toggleButton = new QToolButton(this);
|
||||
_headerLine = new QFrame(this);
|
||||
|
||||
@@ -17,7 +17,10 @@ namespace advss {
|
||||
TempVariable::TempVariable(const std::string &id, const std::string &name,
|
||||
const std::string &description,
|
||||
const std::shared_ptr<MacroSegment> &segment)
|
||||
: _id(id), _name(name), _description(description), _segment(segment)
|
||||
: _id(id),
|
||||
_name(name),
|
||||
_description(description),
|
||||
_segment(segment)
|
||||
{
|
||||
}
|
||||
|
||||
@@ -439,7 +442,9 @@ void NotifyUIAboutTempVarChange()
|
||||
|
||||
AutoUpdateTooltipLabel::AutoUpdateTooltipLabel(
|
||||
QWidget *parent, std::function<QString()> updateFunc)
|
||||
: QLabel(parent), _updateFunc(updateFunc), _timer(new QTimer(this))
|
||||
: QLabel(parent),
|
||||
_updateFunc(updateFunc),
|
||||
_timer(new QTimer(this))
|
||||
{
|
||||
connect(_timer, &QTimer::timeout, this,
|
||||
&AutoUpdateTooltipLabel::UpdateTooltip);
|
||||
|
||||
Reference in New Issue
Block a user