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 Data Exporter
Commits
a7a55638
Commit
a7a55638
authored
May 01, 2022
by
Laurent Montel
😁
Browse files
const'ify pointer
parent
003bb0cc
Pipeline
#170580
passed with stage
in 2 minutes and 21 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
core/autotests/logcreatingressource.cpp
View file @
a7a55638
...
...
@@ -13,8 +13,8 @@
LogCreatingResource
::
LogCreatingResource
(
QObject
*
parent
)
:
QObject
(
parent
)
,
mTmpLogFile
(
new
QTemporaryFile
(
this
))
{
mTmpLogFile
=
new
QTemporaryFile
(
this
);
#ifdef REMOVE_TEMPORARY_FILE
mTmpLogFile
->
setAutoRemove
(
true
);
#else
...
...
core/autotests/logcreatingressource.h
View file @
a7a55638
...
...
@@ -22,6 +22,6 @@ public:
void
logRegisterSpecialCollection
(
Akonadi
::
SpecialMailCollections
::
Type
type
,
qint64
colId
);
private:
QTemporaryFile
*
mTmpLogFile
=
nullptr
;
QTemporaryFile
*
const
mTmpLogFile
;
int
mResourceIndex
=
0
;
};
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