Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
PIM
PimCommon
Commits
f6558301
Commit
f6558301
authored
Aug 27, 2020
by
Laurent Montel
😁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clean up code
parent
13efb8d9
Pipeline
#32060
passed with stage
in 18 minutes and 12 seconds
Changes
8
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
8 additions
and
12 deletions
+8
-12
src/pimcommon/genericplugins/abstractgenericplugin.cpp
src/pimcommon/genericplugins/abstractgenericplugin.cpp
+0
-1
src/pimcommon/genericplugins/abstractgenericplugin.h
src/pimcommon/genericplugins/abstractgenericplugin.h
+1
-1
src/pimcommon/logactivities/logactivitiesmanager.cpp
src/pimcommon/logactivities/logactivitiesmanager.cpp
+1
-2
src/pimcommon/shareserviceurl/shareserviceurlmanager.cpp
src/pimcommon/shareserviceurl/shareserviceurlmanager.cpp
+2
-2
src/pimcommon/templatewidgets/templatelistwidget.cpp
src/pimcommon/templatewidgets/templatelistwidget.cpp
+2
-3
src/pimcommon/widgets/customtreeview.cpp
src/pimcommon/widgets/customtreeview.cpp
+0
-1
src/pimcommon/widgets/customtreeview.h
src/pimcommon/widgets/customtreeview.h
+1
-1
src/pimcommon/widgets/purposemenuwidget.h
src/pimcommon/widgets/purposemenuwidget.h
+1
-1
No files found.
src/pimcommon/genericplugins/abstractgenericplugin.cpp
View file @
f6558301
...
...
@@ -10,7 +10,6 @@ using namespace PimCommon;
AbstractGenericPlugin
::
AbstractGenericPlugin
(
QObject
*
parent
)
:
QObject
(
parent
)
,
mIsEnabled
(
true
)
{
}
...
...
src/pimcommon/genericplugins/abstractgenericplugin.h
View file @
f6558301
...
...
@@ -37,7 +37,7 @@ Q_SIGNALS:
void
configChanged
();
private:
bool
mIsEnabled
;
bool
mIsEnabled
=
true
;
};
}
#endif // AbstractGENERICPLUGIN_H
src/pimcommon/logactivities/logactivitiesmanager.cpp
View file @
f6558301
...
...
@@ -17,8 +17,7 @@ class PimCommon::LogActivitiesManagerPrivate
{
public:
LogActivitiesManagerPrivate
()
:
mDialog
{
nullptr
}
,
mEnableLogActivities
{
false
}
:
mDialog
(
nullptr
)
{
}
...
...
src/pimcommon/shareserviceurl/shareserviceurlmanager.cpp
View file @
f6558301
...
...
@@ -23,8 +23,8 @@ public:
{
}
QIcon
typeToIcon
(
ShareServiceUrlManager
::
ServiceType
type
)
const
;
QString
typeToI18n
(
ShareServiceUrlManager
::
ServiceType
type
)
const
;
Q_REQUIRED_RESULT
QIcon
typeToIcon
(
ShareServiceUrlManager
::
ServiceType
type
)
const
;
Q_REQUIRED_RESULT
QString
typeToI18n
(
ShareServiceUrlManager
::
ServiceType
type
)
const
;
void
initializeMenu
();
KActionMenu
*
mMenu
=
nullptr
;
ShareServiceUrlManager
*
const
q
;
...
...
src/pimcommon/templatewidgets/templatelistwidget.cpp
View file @
f6558301
...
...
@@ -27,8 +27,7 @@ class TemplateListWidgetPrivate
{
public:
TemplateListWidgetPrivate
(
const
QString
&
configName
,
TemplateListWidget
*
qq
)
:
dirty
(
false
)
,
config
(
KSharedConfig
::
openConfig
(
configName
,
KConfig
::
NoGlobals
))
:
config
(
KSharedConfig
::
openConfig
(
configName
,
KConfig
::
NoGlobals
))
,
q
(
qq
)
{
}
...
...
@@ -278,7 +277,7 @@ public:
}
QString
knewstuffConfigName
;
bool
dirty
;
bool
dirty
=
false
;
KSharedConfig
::
Ptr
config
;
TemplateListWidget
*
const
q
;
};
...
...
src/pimcommon/widgets/customtreeview.cpp
View file @
f6558301
...
...
@@ -14,7 +14,6 @@ using namespace PimCommon;
CustomTreeView
::
CustomTreeView
(
QWidget
*
parent
)
:
QTreeWidget
(
parent
)
,
mShowDefaultText
(
true
)
{
}
...
...
src/pimcommon/widgets/customtreeview.h
View file @
f6558301
...
...
@@ -37,7 +37,7 @@ protected:
void
changeEvent
(
QEvent
*
event
)
override
;
protected:
bool
mShowDefaultText
;
bool
mShowDefaultText
=
true
;
private:
QColor
mTextColor
;
...
...
src/pimcommon/widgets/purposemenuwidget.h
View file @
f6558301
...
...
@@ -33,7 +33,7 @@ private:
void
slotShareActionFinished
(
const
QJsonObject
&
output
,
int
error
,
const
QString
&
message
);
Purpose
::
Menu
*
mShareMenu
=
nullptr
;
QTemporaryFile
*
mTemporaryShareFile
=
nullptr
;
QWidget
*
mParentWidget
=
nullptr
;
QWidget
*
const
mParentWidget
;
};
}
...
...
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