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 Account Wizard
Commits
131da245
Commit
131da245
authored
May 27, 2019
by
Laurent Montel
😁
Browse files
Clean up code
parent
3fb85857
Changes
5
Hide whitespace changes
Inline
Side-by-side
src/key.cpp
View file @
131da245
...
...
@@ -49,8 +49,6 @@
Key
::
Key
(
QObject
*
parent
)
:
SetupObject
(
parent
)
,
m_transportId
(
0
)
,
m_publishingMethod
(
NoPublishing
)
{
}
...
...
src/key.h
View file @
131da245
...
...
@@ -72,7 +72,7 @@ private:
GpgME
::
Key
m_key
;
QString
m_mailbox
;
QPointer
<
QObject
>
mJob
;
PublishingMethod
m_publishingMethod
;
PublishingMethod
m_publishingMethod
=
NoPublishing
;
};
#endif
src/setupmanager.cpp
View file @
131da245
...
...
@@ -38,14 +38,7 @@
SetupManager
::
SetupManager
(
QWidget
*
parent
)
:
QObject
(
parent
)
,
m_currentSetupObject
(
nullptr
)
,
m_page
(
nullptr
)
,
m_wallet
(
nullptr
)
,
m_keyPublishingMethod
(
Key
::
NoPublishing
)
,
m_personalDataAvailable
(
false
)
,
m_rollbackRequested
(
false
)
,
m_pgpAutoSign
(
false
)
,
m_pgpAutoEncrypt
(
false
)
{
KEMailSettings
e
;
m_name
=
e
.
getSetting
(
KEMailSettings
::
RealName
);
...
...
src/setupmanager.h
View file @
131da245
...
...
@@ -94,10 +94,10 @@ private:
KWallet
::
Wallet
*
m_wallet
=
nullptr
;
GpgME
::
Key
m_key
;
Key
::
PublishingMethod
m_keyPublishingMethod
;
bool
m_personalDataAvailable
;
bool
m_rollbackRequested
;
bool
m_pgpAutoSign
;
bool
m_pgpAutoEncrypt
;
bool
m_personalDataAvailable
=
false
;
bool
m_rollbackRequested
=
false
;
bool
m_pgpAutoSign
=
false
;
bool
m_pgpAutoEncrypt
=
false
;
};
#endif
src/setupobject.cpp
View file @
131da245
...
...
@@ -20,7 +20,6 @@
#include "setupobject.h"
SetupObject
::
SetupObject
(
QObject
*
parent
)
:
QObject
(
parent
)
,
m_dependsOn
(
nullptr
)
{
}
...
...
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