]> dgit.raspbian.org Git - nextcloud-desktop.git/commitdiff
Improve previous fix
authorMarkus Goetz <markus@woboq.com>
Tue, 7 Feb 2017 18:40:32 +0000 (19:40 +0100)
committerMarkus Goetz <markus@woboq.com>
Tue, 7 Feb 2017 18:40:32 +0000 (19:40 +0100)
After comment on https://github.com/owncloud/client/commit/78a798eef3eb8d04360c6d9542db55469f59cacd

src/gui/generalsettings.cpp

index 9a9722a489bdb647e52f99070b7f0810821678be..9d68511030d30b3c6e159a439e288e165a1651cc 100644 (file)
@@ -106,6 +106,7 @@ void GeneralSettings::loadMiscSettings()
 {
 #if QT_VERSION < QT_VERSION_CHECK( 5, 4, 0 )
     QScopedValueRollback<bool> scope(_currentlyLoading);
+    _currentlyLoading = true;
 #else
     QScopedValueRollback<bool> scope(_currentlyLoading, true);
 #endif