Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
System
KCron
Commits
3f791c7f
Commit
3f791c7f
authored
Jun 20, 2021
by
Laurent Montel
😁
Browse files
Remove unused boolean
parent
75c9c7b0
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/taskEditorDialog.cpp
View file @
3f791c7f
...
...
@@ -936,13 +936,10 @@ void TaskEditorDialog::slotAllDaysOfWeek()
void
TaskEditorDialog
::
slotDayOfWeekChanged
()
{
bool
allChecked
=
true
;
bool
allCleared
=
true
;
for
(
int
dw
=
1
;
dw
<=
7
;
dw
++
)
{
if
(
mDayOfWeekButtons
[
dw
]
->
isChecked
())
{
allCleared
=
false
;
}
else
{
allChecked
=
false
;
}
}
if
(
allCleared
)
{
...
...
@@ -968,13 +965,10 @@ void TaskEditorDialog::slotAllHours()
void
TaskEditorDialog
::
slotHourChanged
()
{
bool
allChecked
=
true
;
bool
allCleared
=
true
;
for
(
int
ho
=
0
;
ho
<=
23
;
ho
++
)
{
if
(
mHourButtons
[
ho
]
->
isChecked
())
{
allCleared
=
false
;
}
else
{
allChecked
=
false
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment