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
KMailTransport
Commits
375f51df
Commit
375f51df
authored
Sep 30, 2021
by
Laurent Montel
😁
Browse files
fix some cppcheck warnings
parent
e60da3b0
Pipeline
#83905
passed with stage
in 8 minutes and 3 seconds
Changes
5
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/kmailtransport/plugins/smtp/smtpjob.cpp
View file @
375f51df
...
...
@@ -64,7 +64,7 @@ Q_GLOBAL_STATIC(SessionPool, s_sessionPool)
class
SmtpJobPrivate
{
public:
SmtpJobPrivate
(
SmtpJob
*
parent
)
explicit
SmtpJobPrivate
(
SmtpJob
*
parent
)
:
q
(
parent
)
{
}
...
...
src/kmailtransport/precommandjob.cpp
View file @
375f51df
...
...
@@ -23,7 +23,7 @@ using namespace MailTransport;
class
PreCommandJobPrivate
{
public:
PreCommandJobPrivate
(
PrecommandJob
*
parent
);
explicit
PreCommandJobPrivate
(
PrecommandJob
*
parent
);
QProcess
*
process
=
nullptr
;
QString
precommand
;
PrecommandJob
*
const
q
;
...
...
src/kmailtransport/transport.h
View file @
375f51df
...
...
@@ -119,7 +119,7 @@ protected:
Creates a Transport object. Should only be used by TransportManager.
@param cfgGroup The KConfig group to read its data from.
*/
Transport
(
const
QString
&
cfgGroup
);
explicit
Transport
(
const
QString
&
cfgGroup
);
void
usrRead
()
override
;
bool
usrSave
()
override
;
...
...
src/kmailtransportakonadi/outboxactions_p.h
View file @
375f51df
...
...
@@ -83,7 +83,7 @@ public:
class
DispatchManualTransportAction
:
public
Akonadi
::
FilterAction
{
public:
DispatchManualTransportAction
(
int
transportId
);
explicit
DispatchManualTransportAction
(
int
transportId
);
~
DispatchManualTransportAction
()
override
;
...
...
src/kmailtransportakonadi/sentactionattribute.cpp
View file @
375f51df
...
...
@@ -22,9 +22,9 @@ public:
Private
(
const
Private
&
other
)
:
QSharedData
(
other
)
,
mType
(
other
.
mType
)
,
mValue
(
other
.
mValue
)
{
mType
=
other
.
mType
;
mValue
=
other
.
mValue
;
}
Type
mType
=
Invalid
;
...
...
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