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
Graphics
Gwenview
Commits
896bfb6b
Commit
896bfb6b
authored
Jun 09, 2021
by
Laurent Montel
😁
Browse files
Const'ify pointer/variable
parent
6e5cdff7
Changes
2
Hide whitespace changes
Inline
Side-by-side
lib/abstractimageoperation.cpp
View file @
896bfb6b
...
...
@@ -58,7 +58,7 @@ public:
}
private:
AbstractImageOperation
*
mOp
;
AbstractImageOperation
*
const
mOp
;
};
struct
AbstractImageOperationPrivate
...
...
lib/archiveutils.cpp
View file @
896bfb6b
...
...
@@ -39,7 +39,7 @@ namespace ArchiveUtils
bool
fileItemIsArchive
(
const
KFileItem
&
item
)
{
QMimeType
mimeType
=
item
.
determineMimeType
();
const
QMimeType
mimeType
=
item
.
determineMimeType
();
if
(
!
mimeType
.
isValid
())
{
qCWarning
(
GWENVIEW_LIB_LOG
)
<<
"determineMimeType() returned a null pointer"
;
return
false
;
...
...
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