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
KMail
Commits
97fba454
Commit
97fba454
authored
Feb 09, 2021
by
Laurent Montel
😁
Browse files
Const'ify pointer
parent
408902d8
Pipeline
#50252
passed with stage
in 27 minutes and 5 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/search/checkindexingmanager.cpp
View file @
97fba454
...
...
@@ -23,8 +23,8 @@
CheckIndexingManager
::
CheckIndexingManager
(
Akonadi
::
Search
::
PIM
::
IndexedItems
*
indexer
,
QObject
*
parent
)
:
QObject
(
parent
)
,
mIndexedItems
(
indexer
)
,
mTimer
(
new
QTimer
(
this
))
{
mTimer
=
new
QTimer
(
this
);
mTimer
->
setSingleShot
(
true
);
mTimer
->
setInterval
(
5
*
1000
);
// 5 secondes
connect
(
mTimer
,
&
QTimer
::
timeout
,
this
,
&
CheckIndexingManager
::
checkNextCollection
);
...
...
src/search/checkindexingmanager.h
View file @
97fba454
...
...
@@ -42,7 +42,7 @@ private:
Akonadi
::
Search
::
PIM
::
IndexedItems
*
const
mIndexedItems
;
Akonadi
::
Collection
::
List
mListCollection
;
QTimer
*
mTimer
=
nullpt
r
;
QTimer
*
const
mTime
r
;
QList
<
qint64
>
mCollectionsIndexed
;
QList
<
qint64
>
mCollectionsNeedToBeReIndexed
;
int
mIndex
=
0
;
...
...
src/widgets/vacationscriptindicatorwidget.h
View file @
97fba454
...
...
@@ -48,7 +48,7 @@ class VacationScriptIndicatorWidget : public QWidget
Q_OBJECT
public:
explicit
VacationScriptIndicatorWidget
(
QWidget
*
parent
=
nullptr
);
~
VacationScriptIndicatorWidget
();
~
VacationScriptIndicatorWidget
()
override
;
void
setVacationScriptActive
(
bool
active
,
const
QString
&
serverName
);
...
...
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