Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
PIM
KDE PIM Add-ons
Commits
fd9480a0
Commit
fd9480a0
authored
Oct 06, 2020
by
Laurent Montel
😁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
const'ify pointer
parent
bd3040ab
Pipeline
#36579
failed with stage
in 122 minutes and 40 seconds
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
7 deletions
+4
-7
kmail/plugins/antispamplugin/antispamplugininterface.cpp
kmail/plugins/antispamplugin/antispamplugininterface.cpp
+2
-3
kmailtransport/sendmail/sendmailjob.cpp
kmailtransport/sendmail/sendmailjob.cpp
+1
-2
kmailtransport/sendmail/sendmailjob.h
kmailtransport/sendmail/sendmailjob.h
+1
-1
korganizer/plugins/datenums/datenums.cpp
korganizer/plugins/datenums/datenums.cpp
+0
-1
No files found.
kmail/plugins/antispamplugin/antispamplugininterface.cpp
View file @
fd9480a0
...
...
@@ -36,7 +36,6 @@ void AntiSpamPluginInterface::slotActivated()
void
AntiSpamPluginInterface
::
exec
()
{
QPointer
<
KMail
::
AntiSpamWizard
>
wiz
=
new
KMail
::
AntiSpamWizard
(
KMail
::
AntiSpamWizard
::
AntiSpam
,
parentWidget
());
wiz
->
exec
();
delete
wiz
;
KMail
::
AntiSpamWizard
wiz
(
KMail
::
AntiSpamWizard
::
AntiSpam
,
parentWidget
());
wiz
.
exec
();
}
kmailtransport/sendmail/sendmailjob.cpp
View file @
fd9480a0
...
...
@@ -21,8 +21,8 @@ using namespace MailTransport;
SendmailJob
::
SendmailJob
(
Transport
*
transport
,
QObject
*
parent
)
:
TransportJob
(
transport
,
parent
)
,
mProcess
(
new
QProcess
(
this
))
{
mProcess
=
new
QProcess
(
this
);
connect
(
mProcess
,
qOverload
<
int
,
QProcess
::
ExitStatus
>
(
&
QProcess
::
finished
),
this
,
&
SendmailJob
::
sendmailExited
);
connect
(
mProcess
,
qOverload
<
QProcess
::
ProcessError
>
(
&
QProcess
::
errorOccurred
),
this
,
&
SendmailJob
::
receivedError
);
...
...
@@ -79,6 +79,5 @@ void SendmailJob::receivedStdErr()
bool
SendmailJob
::
doKill
()
{
delete
mProcess
;
mProcess
=
nullptr
;
return
true
;
}
kmailtransport/sendmail/sendmailjob.h
View file @
fd9480a0
...
...
@@ -48,7 +48,7 @@ private Q_SLOTS:
private:
QString
mLastError
;
QProcess
*
mProcess
=
nullptr
;
QProcess
*
const
mProcess
;
};
}
// namespace MailTransport
...
...
korganizer/plugins/datenums/datenums.cpp
View file @
fd9480a0
...
...
@@ -15,7 +15,6 @@
#include <KLocalizedString>
Datenums
::
Datenums
()
:
mDisplayedInfo
(
DayOfYear
|
DaysRemaining
)
{
KConfig
_config
(
QStringLiteral
(
"korganizerrc"
),
KConfig
::
NoGlobals
);
KConfigGroup
config
(
&
_config
,
"Calendar/Datenums Plugin"
);
...
...
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