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
KDE PIM Add-ons
Commits
e358c8a2
Commit
e358c8a2
authored
Nov 05, 2020
by
Laurent Montel
😁
Browse files
Modernize code
parent
7a7f7379
Pipeline
#39715
failed with stage
in 62 minutes and 56 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
kmail/editorplugins/quicktext/quicktextmanager.cpp
View file @
e358c8a2
...
...
@@ -40,7 +40,7 @@ public:
QModelIndex
QuicktextManager
::
Private
::
currentGroupIndex
()
const
{
if
(
mSelectionModel
->
selectedIndexes
().
isEmpty
())
{
return
QModelIndex
()
;
return
{}
;
}
const
QModelIndex
index
=
mSelectionModel
->
selectedIndexes
().
first
();
...
...
sieveeditor/emaillineedit/emaillineedit.cpp
View file @
e358c8a2
...
...
@@ -83,7 +83,7 @@ void EmailLineEdit::slotSelectEmail()
if
(
factory
)
{
dlg
.
reset
(
factory
->
create
<
Akonadi
::
AbstractEmailAddressSelectionDialog
>
(
this
));
}
else
{
dlg
.
reset
(
new
Akonadi
::
EmailAddressSelectionDialog
(
this
)
)
;
dlg
=
std
::
make_unique
<
Akonadi
::
EmailAddressSelectionDialog
>
(
this
);
}
dlg
->
setWindowTitle
(
i18nc
(
"@title:window"
,
"Select Emails"
));
dlg
->
view
()
->
view
()
->
setSelectionMode
(
multiSelection
()
?
QAbstractItemView
::
MultiSelection
:
QAbstractItemView
::
SingleSelection
);
...
...
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