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
eba88607
Commit
eba88607
authored
Oct 07, 2020
by
Laurent Montel
😁
Browse files
Clean up code
parent
c11b2b99
Pipeline
#36709
passed with stage
in 74 minutes
Changes
5
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
kaddressbook/editorpages/cryptopageplugin.cpp
View file @
eba88607
...
...
@@ -28,7 +28,6 @@
#include <Libkleo/Enum>
CryptoPagePlugin
::
CryptoPagePlugin
()
:
mReadOnly
(
false
)
{
KIconLoader
::
global
()
->
addAppDir
(
QStringLiteral
(
"libkleopatra"
));
...
...
kmail/editorplugins/insertshorturl/insertshorturlconfiguredialog.cpp
View file @
eba88607
...
...
@@ -11,10 +11,10 @@
InsertShorturlConfigureDialog
::
InsertShorturlConfigureDialog
(
QWidget
*
parent
)
:
QDialog
(
parent
)
,
mInsertShortUrlWidget
(
new
InsertShorturlConfigureWidget
(
this
))
{
QVBoxLayout
*
mainLayout
=
new
QVBoxLayout
(
this
);
mInsertShortUrlWidget
=
new
InsertShorturlConfigureWidget
(
this
);
mInsertShortUrlWidget
->
setObjectName
(
QStringLiteral
(
"insertshorturlwidget"
));
mainLayout
->
addWidget
(
mInsertShortUrlWidget
);
...
...
kmail/editorplugins/insertshorturl/insertshorturlconfiguredialog.h
View file @
eba88607
...
...
@@ -19,7 +19,7 @@ public:
void
accept
()
override
;
private:
InsertShorturlConfigureWidget
*
mInsertShortUrlWidget
=
nullptr
;
InsertShorturlConfigureWidget
*
const
mInsertShortUrlWidget
;
};
#endif // INSERTSHORTURLCONFIGUREDIALOG_H
plugins/plasma/pimeventsplugin/akonadipimdatasource.cpp
View file @
eba88607
...
...
@@ -25,13 +25,13 @@ using namespace std::placeholders;
AkonadiPimDataSource
::
AkonadiPimDataSource
(
QObject
*
parent
)
:
QObject
(
parent
)
,
mCalendar
(
new
EventModel
(
this
))
{
Akonadi
::
AttributeFactory
::
registerAttribute
<
Akonadi
::
CollectionColorAttribute
>
();
connect
(
SettingsChangeNotifier
::
self
(),
&
SettingsChangeNotifier
::
settingsChanged
,
this
,
&
AkonadiPimDataSource
::
onSettingsChanged
);
mCalendar
=
new
EventModel
(
this
);
onSettingsChanged
();
...
...
plugins/plasma/pimeventsplugin/akonadipimdatasource.h
View file @
eba88607
...
...
@@ -30,7 +30,7 @@ private Q_SLOTS:
void
onSettingsChanged
();
private:
EventModel
*
mCalendar
=
nullptr
;
EventModel
*
const
mCalendar
;
EventViews
::
PrefsPtr
mEventViewsPrefs
;
mutable
QHash
<
qint64
,
QString
>
mColorCache
;
};
...
...
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