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
d16f8334
Commit
d16f8334
authored
Nov 17, 2020
by
Laurent Montel
😁
Browse files
Modernize code
parent
75d15813
Pipeline
#41334
skipped
Changes
5
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/editor/codec/codecaction.cpp
View file @
d16f8334
...
...
@@ -93,7 +93,7 @@ static QString selectCharset(KSelectAction *root, const QString &encoding)
}
}
}
return
QString
()
;
return
{}
;
}
void
CodecAction
::
setCharset
(
const
QByteArray
&
charset
)
...
...
src/kontactplugin/summary/kcmkontactsummary.cpp
View file @
d16f8334
...
...
@@ -54,7 +54,7 @@ public:
}
else
if
(
column
==
1
)
{
return
mInfo
.
comment
();
}
else
{
return
QString
()
;
return
{}
;
}
}
...
...
src/kontactplugin/summary/summaryview_part.cpp
View file @
d16f8334
...
...
@@ -539,5 +539,5 @@ QString SummaryViewPart::widgetName(QWidget *widget) const
}
}
return
QString
()
;
return
{}
;
}
src/sieveimapinterface/kmsieveimappasswordprovider.cpp
View file @
d16f8334
...
...
@@ -37,5 +37,5 @@ QString KMSieveImapPasswordProvider::walletPassword(const QString &identifier)
}
}
return
QString
()
;
return
{}
;
}
src/undostack.cpp
View file @
d16f8334
...
...
@@ -48,7 +48,7 @@ QString UndoStack::undoInfo() const
UndoInfo
*
info
=
mStack
.
first
();
return
info
->
moveToTrash
?
i18n
(
"Move To Trash"
)
:
i18np
(
"Move Message"
,
"Move Messages"
,
info
->
items
.
count
());
}
else
{
return
QString
()
;
return
{}
;
}
}
...
...
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