[Pkg-owncloud-commits] [owncloud-client] 448/498: Folderman: make the backup number starts with 2: #3512
Sandro Knauß
hefee-guest at moszumanska.debian.org
Tue Aug 11 14:49:17 UTC 2015
This is an automated email from the git hooks/post-receive script.
hefee-guest pushed a commit to branch master
in repository owncloud-client.
commit b470d0f7b8d8d2870354712f5c0b9db43bad0ea1
Author: Olivier Goffart <ogoffart at woboq.com>
Date: Mon Aug 3 09:17:45 2015 +0200
Folderman: make the backup number starts with 2: #3512
---
src/gui/folderman.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/gui/folderman.cpp b/src/gui/folderman.cpp
index c7ae935..ad56620 100644
--- 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++);
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git
More information about the Pkg-owncloud-commits
mailing list