Improve previous fix

After comment on 78a798eef3
This commit is contained in:
Markus Goetz 2017-02-07 19:40:32 +01:00
parent 6a4ae63f14
commit 1102ac20ac

View 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