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
System
KCron
Commits
7803e03c
Commit
7803e03c
authored
Feb 17, 2020
by
Laurent Montel
Browse files
Make it compile against qt5.15
parent
d3fe779b
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/crontabWidget.cpp
View file @
7803e03c
...
...
@@ -192,7 +192,11 @@ QHBoxLayout* CrontabWidget::createCronSelector() {
}
connect
(
group
,
static_cast
<
void
(
QButtonGroup
::*
)(
QAbstractButton
*
)
>
(
&
QButtonGroup
::
buttonClicked
),
this
,
&
CrontabWidget
::
refreshCron
);
#if QT_VERSION < QT_VERSION_CHECK(5, 15, 0)
connect
(
d
->
otherUsers
,
static_cast
<
void
(
QComboBox
::*
)(
int
)
>
(
&
QComboBox
::
currentIndexChanged
),
this
,
&
CrontabWidget
::
checkOtherUsers
);
#else
connect
(
d
->
otherUsers
,
static_cast
<
void
(
QComboBox
::*
)(
int
,
const
QString
&
)
>
(
&
QComboBox
::
currentIndexChanged
)
,
this
,
&
CrontabWidget
::
checkOtherUsers
);
#endif
layout
->
addStretch
(
1
);
...
...
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