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 Messagelib
Commits
2730222f
Commit
2730222f
authored
Sep 26, 2021
by
Laurent Montel
😁
Browse files
Not necessary to use qOverload here
parent
3e06094a
Pipeline
#82770
passed with stage
in 44 minutes and 39 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
messagecomposer/src/imagescaling/imagescalingwidget.cpp
View file @
2730222f
...
...
@@ -58,12 +58,12 @@ ImageScalingWidget::ImageScalingWidget(QWidget *parent)
connect
(
d
->
ui
->
AskBeforeResizing
,
&
QCheckBox
::
clicked
,
this
,
&
ImageScalingWidget
::
changed
);
connect
(
d
->
ui
->
EnlargeImageToMinimum
,
&
QCheckBox
::
clicked
,
this
,
&
ImageScalingWidget
::
changed
);
connect
(
d
->
ui
->
ReduceImageToMaximum
,
&
QCheckBox
::
clicked
,
this
,
&
ImageScalingWidget
::
changed
);
connect
(
d
->
ui
->
customMaximumWidth
,
qOverload
<
int
>
(
&
QSpinBox
::
valueChanged
)
,
this
,
&
ImageScalingWidget
::
changed
);
connect
(
d
->
ui
->
customMaximumHeight
,
qOverload
<
int
>
(
&
QSpinBox
::
valueChanged
)
,
this
,
&
ImageScalingWidget
::
changed
);
connect
(
d
->
ui
->
customMinimumWidth
,
qOverload
<
int
>
(
&
QSpinBox
::
valueChanged
)
,
this
,
&
ImageScalingWidget
::
changed
);
connect
(
d
->
ui
->
customMinimumHeight
,
qOverload
<
int
>
(
&
QSpinBox
::
valueChanged
)
,
this
,
&
ImageScalingWidget
::
changed
);
connect
(
d
->
ui
->
customMaximumWidth
,
&
QSpinBox
::
valueChanged
,
this
,
&
ImageScalingWidget
::
changed
);
connect
(
d
->
ui
->
customMaximumHeight
,
&
QSpinBox
::
valueChanged
,
this
,
&
ImageScalingWidget
::
changed
);
connect
(
d
->
ui
->
customMinimumWidth
,
&
QSpinBox
::
valueChanged
,
this
,
&
ImageScalingWidget
::
changed
);
connect
(
d
->
ui
->
customMinimumHeight
,
&
QSpinBox
::
valueChanged
,
this
,
&
ImageScalingWidget
::
changed
);
connect
(
d
->
ui
->
skipImageSizeLower
,
&
QCheckBox
::
clicked
,
this
,
&
ImageScalingWidget
::
changed
);
connect
(
d
->
ui
->
imageSize
,
qOverload
<
int
>
(
&
QSpinBox
::
valueChanged
)
,
this
,
&
ImageScalingWidget
::
changed
);
connect
(
d
->
ui
->
imageSize
,
&
QSpinBox
::
valueChanged
,
this
,
&
ImageScalingWidget
::
changed
);
connect
(
d
->
ui
->
pattern
,
&
QLineEdit
::
textChanged
,
this
,
&
ImageScalingWidget
::
changed
);
connect
(
d
->
ui
->
CBMaximumWidth
,
qOverload
<
int
>
(
&
QComboBox
::
currentIndexChanged
),
this
,
&
ImageScalingWidget
::
slotComboboxChanged
);
connect
(
d
->
ui
->
CBMaximumHeight
,
qOverload
<
int
>
(
&
QComboBox
::
currentIndexChanged
),
this
,
&
ImageScalingWidget
::
slotComboboxChanged
);
...
...
Write
Preview
Supports
Markdown
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