[Pkg-owncloud-commits] [owncloud-client] 102/470: Don't use QVector::removeOne, added in Qt 5.4
Sandro Knauß
hefee-guest at moszumanska.debian.org
Thu May 12 16:24:50 UTC 2016
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 4f48c888ef42de8de07d49d8fed525a9dd5eb704
Author: Christian Kamm <mail at ckamm.de>
Date: Thu Mar 3 10:03:41 2016 +0100
Don't use QVector::removeOne, added in Qt 5.4
A QList makes sense there and makes the rest of the code
work with earlier Qt versions.
---
src/libsync/owncloudpropagator.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/libsync/owncloudpropagator.h b/src/libsync/owncloudpropagator.h
index 6478c26..3718eff 100644
--- a/src/libsync/owncloudpropagator.h
+++ b/src/libsync/owncloudpropagator.h
@@ -298,7 +298,7 @@ public:
QAtomicInt _abortRequested; // boolean set by the main thread to abort.
/* The list of currently active jobs */
- QVector<PropagateItemJob*> _activeJobList;
+ QList<PropagateItemJob*> _activeJobList;
/** We detected that another sync is required after this one */
bool _anotherSyncNeeded;
--
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