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
PIM MailCommon
Commits
3780d63d
Commit
3780d63d
authored
Sep 26, 2021
by
Laurent Montel
Browse files
Remove some qOverload as we remove deprecated qt5.15 signal
parent
8072f1b3
Pipeline
#82753
canceled with stage
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/filter/filteractions/filteractionaddtag.cpp
View file @
3780d63d
...
...
@@ -39,7 +39,7 @@ QWidget *FilterActionAddTag::createParamWidget(QWidget *parent) const
}
setParamWidgetValue
(
mComboBox
);
connect
(
mComboBox
,
qOverload
<
int
>
(
&
QComboBox
::
currentIndexChanged
)
,
this
,
&
FilterActionAddTag
::
filterActionModified
);
connect
(
mComboBox
,
&
QComboBox
::
currentIndexChanged
,
this
,
&
FilterActionAddTag
::
filterActionModified
);
return
mComboBox
;
}
...
...
src/filter/filteractions/filteractionwidget.cpp
View file @
3780d63d
...
...
@@ -152,11 +152,11 @@ FilterActionWidget::FilterActionWidget(QWidget *parent)
setFocusProxy
(
d
->
mComboBox
);
// now connect the combo box and the widget stack
connect
(
d
->
mComboBox
,
qOverload
<
int
>
(
&
QComboBox
::
activated
)
,
this
,
[
this
](
int
index
)
{
connect
(
d
->
mComboBox
,
&
QComboBox
::
activated
,
this
,
[
this
](
int
index
)
{
d
->
slotFilterTypeChanged
(
index
);
});
connect
(
d
->
mComboBox
,
qOverload
<
int
>
(
&
QComboBox
::
activated
)
,
this
,
&
FilterActionWidget
::
filterModified
);
connect
(
d
->
mComboBox
,
&
QComboBox
::
activated
,
this
,
&
FilterActionWidget
::
filterModified
);
connect
(
d
->
mAdd
,
&
QPushButton
::
clicked
,
this
,
[
this
]()
{
d
->
slotAddWidget
();
...
...
src/filter/filteractions/filteractionwithstringlist.cpp
View file @
3780d63d
...
...
@@ -24,7 +24,7 @@ QWidget *FilterActionWithStringList::createParamWidget(QWidget *parent) const
comboBox
->
setEditable
(
false
);
comboBox
->
addItems
(
mParameterList
);
setParamWidgetValue
(
comboBox
);
connect
(
comboBox
,
qOverload
<
int
>
(
&
QComboBox
::
currentIndexChanged
)
,
this
,
&
FilterActionWithStringList
::
filterActionModified
);
connect
(
comboBox
,
&
QComboBox
::
currentIndexChanged
,
this
,
&
FilterActionWithStringList
::
filterActionModified
);
return
comboBox
;
}
...
...
src/snippets/snippetwidget.cpp
View file @
3780d63d
...
...
@@ -62,7 +62,7 @@ SnippetWidget::SnippetWidget(QWidget *parent)
Q_EMIT
textChanged
(
str
);
d
->
wasChanged
=
true
;
});
connect
(
d
->
mUi
.
groupBox
,
qOverload
<
int
>
(
&
QComboBox
::
currentIndexChanged
)
,
this
,
[
this
](
int
index
)
{
connect
(
d
->
mUi
.
groupBox
,
&
QComboBox
::
currentIndexChanged
,
this
,
[
this
](
int
index
)
{
Q_EMIT
groupChanged
(
index
);
d
->
wasChanged
=
true
;
});
...
...
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