summary refs log tree commit diff
path: root/gnu/packages/patches/owncloud-disable-updatecheck.patch
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/patches/owncloud-disable-updatecheck.patch')
-rw-r--r--gnu/packages/patches/owncloud-disable-updatecheck.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/gnu/packages/patches/owncloud-disable-updatecheck.patch b/gnu/packages/patches/owncloud-disable-updatecheck.patch
index 3469398eb4..d495a9dec2 100644
--- a/gnu/packages/patches/owncloud-disable-updatecheck.patch
+++ b/gnu/packages/patches/owncloud-disable-updatecheck.patch
@@ -14,11 +14,11 @@ This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
      if (connection.isEmpty())
          con = defaultConnection();
  
--    QVariant fallback = getValue(QLatin1String(skipUpdateCheckC), con, false);
-+    QVariant fallback = getValue(QLatin1String(skipUpdateCheckC), con, true);
-     fallback = getValue(QLatin1String(skipUpdateCheckC), QString(), fallback);
+-    QVariant fallback = getValue(skipUpdateCheckC(), con, false);
++    QVariant fallback = getValue(skipUpdateCheckC(), con, true);
+     fallback = getValue(skipUpdateCheckC(), QString(), fallback);
  
-     QVariant value = getPolicySetting(QLatin1String(skipUpdateCheckC), fallback);
+     QVariant value = getPolicySetting(skipUpdateCheckC(), fallback);
 -    return value.toBool();
 +    if ( !value.toBool() )
 +        qDebug() << "Guix has disabled the UpdateCheck mechanism.";