mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Fixed travis build for TDESKTOP_DISABLE_AUTOUPDATE case.
This commit is contained in:
@@ -1079,9 +1079,11 @@ bool _readSetting(quint32 blockId, QDataStream &stream, int version) {
|
||||
if (!_checkStreamStatus(stream)) return false;
|
||||
|
||||
cSetAutoUpdate(v == 1);
|
||||
#ifndef TDESKTOP_DISABLE_AUTOUPDATE
|
||||
if (!cAutoUpdate()) {
|
||||
Sandbox::stopUpdate();
|
||||
}
|
||||
#endif // !TDESKTOP_DISABLE_AUTOUPDATE
|
||||
} break;
|
||||
|
||||
case dbiLastUpdateCheck: {
|
||||
|
Reference in New Issue
Block a user