Skip to content
GitLab
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
98765e8e
Commit
98765e8e
authored
Apr 07, 2020
by
Laurent Montel
Browse files
Use QLatin1Char('/') here
parent
ecdedd86
Changes
1
Hide whitespace changes
Inline
Side-by-side
agents/archivemailagent/archivemailmanager.cpp
View file @
98765e8e
...
...
@@ -121,7 +121,7 @@ void ArchiveMailManager::backupDone(ArchiveMailInfo *info)
if
(
lst
.
count
()
>
info
->
maximumArchiveCount
())
{
const
int
diff
=
(
lst
.
count
()
-
info
->
maximumArchiveCount
());
for
(
int
i
=
0
;
i
<
diff
;
++
i
)
{
const
QString
fileToRemove
(
info
->
url
().
path
()
+
Q
Dir
::
separator
(
)
+
lst
.
at
(
i
));
const
QString
fileToRemove
(
info
->
url
().
path
()
+
Q
Latin1Char
(
'/'
)
+
lst
.
at
(
i
));
qCDebug
(
ARCHIVEMAILAGENT_LOG
)
<<
" file to remove "
<<
fileToRemove
;
QFile
::
remove
(
fileToRemove
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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