Commit 44e80140 authored by David Jarvie's avatar David Jarvie
Browse files

Fix formatting using Fusion application style

parent 9db0a4e3
Pipeline #91359 passed with stage
in 6 minutes and 40 seconds
/*
* recurrenceedit.cpp - widget to edit the event's recurrence definition
* Program: kalarm
* SPDX-FileCopyrightText: 2002-2020 David Jarvie <djarvie@kde.org>
* SPDX-FileCopyrightText: 2002-2021 David Jarvie <djarvie@kde.org>
*
* Based originally on KOrganizer module koeditorrecurrence.cpp,
* SPDX-FileCopyrightText: 2000, 2001 Cornelius Schumacher <schumacher@kde.org>
......@@ -1083,7 +1083,6 @@ Rule::Rule(const QString& freqText, const QString& freqWhatsThis, bool time, boo
{
mIntSpinBox = nullptr;
mSpinBox = mTimeSpinBox = new TimeSpinBox(1, 5999, box);
mTimeSpinBox->setFixedSize(mTimeSpinBox->sizeHint());
mTimeSpinBox->setReadOnly(readOnly);
boxLayout->addWidget(mSpinBox, 0, Qt::AlignLeft);
connect(mTimeSpinBox, &SpinBox2::valueChanged, this, &Rule::frequencyChanged);
......
/*
* timeselector.cpp - widget to optionally set a time period
* Program: kalarm
* SPDX-FileCopyrightText: 2004-2016 David Jarvie <djarvie@kde.org>
* SPDX-FileCopyrightText: 2004-2021 David Jarvie <djarvie@kde.org>
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
......@@ -35,7 +35,6 @@ TimeSelector::TimeSelector(const QString& selectText, const QString& selectWhats
boxLayout->setContentsMargins(0, 0, 0, 0);
mPeriod = new TimePeriod(allowHourMinute, box);
boxLayout->addWidget(mPeriod);
mPeriod->setFixedSize(mPeriod->sizeHint());
mPeriod->setSelectOnStep(false);
connect(mPeriod, &TimePeriod::valueChanged, this, &TimeSelector::periodChanged);
mSelect->setFocusWidget(mPeriod);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment