Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
KNotes
Commits
ed82c3f6
Commit
ed82c3f6
authored
Jan 24, 2022
by
Laurent Montel
Browse files
const'ify pointer
parent
91454f95
Pipeline
#127943
passed with stage
in 1 minute and 23 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
noteshared/src/alarms/notealarmdialog.cpp
View file @
ed82c3f6
...
...
@@ -23,9 +23,9 @@
using
namespace
NoteShared
;
NoteAlarmDialog
::
NoteAlarmDialog
(
const
QString
&
caption
,
QWidget
*
parent
)
:
QDialog
(
parent
)
,
m_buttons
(
new
QButtonGroup
(
this
))
{
setWindowTitle
(
caption
);
auto
mainLayout
=
new
QVBoxLayout
(
this
);
...
...
@@ -38,7 +38,6 @@ NoteAlarmDialog::NoteAlarmDialog(const QString &caption, QWidget *parent)
auto
pageVBoxLayout
=
new
QVBoxLayout
(
page
);
pageVBoxLayout
->
setContentsMargins
(
0
,
0
,
0
,
0
);
m_buttons
=
new
QButtonGroup
(
this
);
auto
group
=
new
QGroupBox
(
i18n
(
"Scheduled Alarm"
),
page
);
pageVBoxLayout
->
addWidget
(
group
);
auto
layout
=
new
QVBoxLayout
;
...
...
noteshared/src/alarms/notealarmdialog.h
View file @
ed82c3f6
...
...
@@ -34,7 +34,7 @@ private:
private:
KDateComboBox
*
m_atDate
=
nullptr
;
KTimeComboBox
*
m_atTime
=
nullptr
;
QButtonGroup
*
m_buttons
=
nullptr
;
QButtonGroup
*
const
m_buttons
=
nullptr
;
};
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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