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
PIM GrantleeTheme
Commits
0ff9ba4d
Commit
0ff9ba4d
authored
Sep 02, 2020
by
Laurent Montel
😁
Browse files
const'ify pointer
parent
0249f13b
Pipeline
#32688
passed with stage
in 11 minutes and 52 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/genericformatter.cpp
View file @
0ff9ba4d
...
...
@@ -20,7 +20,7 @@ public:
QString
mThemePath
;
QString
mDefaultMainFile
;
std
::
unique_ptr
<
Engine
>
mEngine
;
std
::
unique_ptr
<
Engine
>
const
mEngine
;
QString
mErrorMessage
;
QSharedPointer
<
Grantlee
::
FileSystemTemplateLoader
>
mTemplateLoader
;
Grantlee
::
Template
mTemplate
;
...
...
src/grantleethememanager.cpp
View file @
0ff9ba4d
...
...
@@ -32,8 +32,6 @@ public:
Private
(
const
QString
&
type
,
const
QString
&
desktopFileName
,
KActionCollection
*
ac
,
const
QString
&
relativePath
,
ThemeManager
*
qq
)
:
applicationType
(
type
)
,
defaultDesktopFileName
(
desktopFileName
)
,
actionGroup
(
nullptr
)
,
menu
(
nullptr
)
,
actionCollection
(
ac
)
,
q
(
qq
)
{
...
...
@@ -265,12 +263,12 @@ public:
KDirWatch
*
watch
=
nullptr
;
QActionGroup
*
actionGroup
=
nullptr
;
KActionMenu
*
menu
=
nullptr
;
KActionCollection
*
actionCollection
=
nullptr
;
KActionCollection
*
const
actionCollection
;
QAction
*
separatorAction
=
nullptr
;
QAction
*
downloadThemesAction
=
nullptr
;
QPointer
<
KNS3
::
DownloadDialog
>
downloadThemesDialog
;
ThemeManager
*
q
;
ThemeManager
*
const
q
;
};
ThemeManager
::
ThemeManager
(
const
QString
&
applicationType
,
const
QString
&
defaultDesktopFileName
,
KActionCollection
*
actionCollection
,
const
QString
&
path
,
QObject
*
parent
)
...
...
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