summaryrefslogtreecommitdiff
blob: 6f27d817e3ab951baffcc314a46721544752935b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Index: branches/KDE/4.3/kdeutils/okteta/program/libkakao/core/system/kdocumentsyncmanager.cpp
===================================================================
--- branches/KDE/4.3/kdeutils/okteta/program/libkakao/core/system/kdocumentsyncmanager.cpp	(revision 1046928)
+++ branches/KDE/4.3/kdeutils/okteta/program/libkakao/core/system/kdocumentsyncmanager.cpp	(revision 1046929)
@@ -217,9 +217,9 @@
                 if( synchronizer )
                 {
                     AbstractSyncToRemoteJob *syncJob = synchronizer->startSyncToRemote();
-                    const bool syncFailed = JobManager::executeJob( syncJob, mWidget );
+                    const bool isSynced = JobManager::executeJob( syncJob, mWidget );
 
-                    canClose = !syncFailed;
+                    canClose = isSynced;
                 }
                 else
                     canClose = setSynchronizer( document );