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
PIM
PIM Calendar Support
Commits
c588b5f6
Commit
c588b5f6
authored
Sep 26, 2021
by
Laurent Montel
😁
Browse files
Not necessary to use qOverload here
parent
8d58fdf4
Pipeline
#82759
passed with stage
in 8 minutes and 20 seconds
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
src/archivedialog.cpp
View file @
c588b5f6
...
...
@@ -75,7 +75,7 @@ ArchiveDialog::ArchiveDialog(const Akonadi::ETMCalendar::Ptr &cal, Akonadi::Inci
connect
(
descLabel
,
&
QLabel
::
linkActivated
,
this
,
&
ArchiveDialog
::
showWhatsThis
);
auto
radioBG
=
new
QButtonGroup
(
this
);
connect
(
radioBG
,
qOverload
<
QAbstractButton
*>
(
&
QButtonGroup
::
buttonClicked
)
,
this
,
&
ArchiveDialog
::
slotActionChanged
);
connect
(
radioBG
,
&
QButtonGroup
::
buttonClicked
,
this
,
&
ArchiveDialog
::
slotActionChanged
);
auto
dateLayout
=
new
QHBoxLayout
();
dateLayout
->
setContentsMargins
(
0
,
0
,
0
,
0
);
...
...
src/printing/calprinter.cpp
View file @
c588b5f6
...
...
@@ -202,7 +202,7 @@ CalPrintDialog::CalPrintDialog(int initialPrintType, const PrintPlugin::List &pl
splitterRightLayout
->
addWidget
(
mOrientationSelection
,
1
,
1
);
// signals and slots connections
connect
(
mTypeGroup
,
qOverload
<
QAbstractButton
*>
(
&
QButtonGroup
::
buttonClicked
)
,
this
,
&
CalPrintDialog
::
setPrintType
);
connect
(
mTypeGroup
,
&
QButtonGroup
::
buttonClicked
,
this
,
&
CalPrintDialog
::
setPrintType
);
orientationLabel
->
setBuddy
(
mOrientationSelection
);
// First insert the config widgets into the widget stack. This possibly assigns
...
...
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