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
KMail
Commits
d29a645d
Commit
d29a645d
authored
Jul 29, 2021
by
Carl Schwan
🚴
Browse files
Move undo feature time to the same line
parent
a7f4e993
Pipeline
#72656
passed with stage
in 23 minutes and 53 seconds
Changes
1
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
src/configuredialog/configureaccountpage.cpp
View file @
d29a645d
...
...
@@ -118,8 +118,9 @@ AccountsPageSendingTab::AccountsPageSendingTab(QWidget *parent)
formLayout
->
addRow
(
i18n
(
"Defa&ult send method:"
),
mSendMethodCombo
);
connect
(
mSendMethodCombo
,
qOverload
<
int
>
(
&
QComboBox
::
activated
),
this
,
&
AccountsPageSendingTab
::
slotEmitChanged
);
auto
hLayout
=
new
QHBoxLayout
;
mUndoSend
=
new
QCheckBox
(
i18n
(
"Enable Undo Send"
),
this
);
form
Layout
->
add
Row
(
QString
(),
mUndoSend
);
h
Layout
->
add
Widget
(
mUndoSend
);
connect
(
mUndoSend
,
&
QCheckBox
::
toggled
,
this
,
[
this
](
bool
state
)
{
mUndoSendComboBox
->
setEnabled
(
state
);
slotEmitChanged
();
...
...
@@ -127,7 +128,8 @@ AccountsPageSendingTab::AccountsPageSendingTab(QWidget *parent)
mUndoSendComboBox
=
new
UndoSendCombobox
(
this
);
mUndoSendComboBox
->
setEnabled
(
false
);
formLayout
->
addRow
(
QString
(),
mUndoSendComboBox
);
hLayout
->
addWidget
(
mUndoSendComboBox
);
formLayout
->
addRow
(
QString
(),
hLayout
);
connect
(
mUndoSendComboBox
,
qOverload
<
int
>
(
&
QComboBox
::
activated
),
this
,
&
AccountsPageSendingTab
::
slotEmitChanged
);
}
...
...
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