blob: 574696b405e0f2cc791bc50808bda71871c32013 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
--- src/libsync/configfile.cpp.orig 2015-03-16 14:28:58 UTC
+++ src/libsync/configfile.cpp
@@ -383,11 +383,22 @@ bool ConfigFile::skipUpdateCheck( const
QString con( connection );
if( connection.isEmpty() ) con = defaultConnection();
+#if 0
QVariant fallback = getValue(QLatin1String(skipUpdateCheckC), con, false);
+#else
+ QVariant fallback = getValue(QLatin1String(skipUpdateCheckC), con, true);
+#endif
fallback = getValue(QLatin1String(skipUpdateCheckC), QString(), fallback);
QVariant value = getPolicySetting(QLatin1String(skipUpdateCheckC), fallback);
+#if 0
return value.toBool();
+#else
+ if ( !value.toBool() )
+ qDebug() << "FreeBSD package disabled the UpdateCheck mechanism.";
+
+ return true;
+#endif
}
void ConfigFile::setSkipUpdateCheck( bool skip, const QString& connection )
|