projects
/
nextcloud-desktop.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c73a97a
)
Folderman: make the backup number starts with 2: #3512
author
Olivier Goffart
<ogoffart@woboq.com>
Mon, 3 Aug 2015 07:17:45 +0000
(09:17 +0200)
committer
Olivier Goffart
<ogoffart@woboq.com>
Wed, 5 Aug 2015 08:46:33 +0000
(10:46 +0200)
src/gui/folderman.cpp
patch
|
blob
|
history
diff --git
a/src/gui/folderman.cpp
b/src/gui/folderman.cpp
index c7ae93577dc6d2646a1041a957a5add54dac794f..ad56620807b60ecba8c74da633ae18fe330fc599 100644
(file)
--- a/
src/gui/folderman.cpp
+++ b/
src/gui/folderman.cpp
@@
-854,7
+854,7
@@
QString FolderMan::getBackupName( QString fullPathName ) const
QString newName = fullPathName + tr(" (backup)");
QFileInfo fi( newName );
- int cnt =
1
;
+ int cnt =
2
;
do {
if( fi.exists() ) {
newName = fullPathName + tr(" (backup %1)").arg(cnt++);