Sfoglia il codice sorgente

Don't consider CfApi backend as experimental

Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
Kevin Ottens 5 anni fa
parent
commit
4d4b87c9c3
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. 2 1
      src/libsync/theme.cpp

+ 2 - 1
src/libsync/theme.cpp

@@ -738,7 +738,8 @@ QPixmap Theme::createColorAwarePixmap(const QString &name)
 
 bool Theme::showVirtualFilesOption() const
 {
-    return ConfigFile().showExperimentalOptions();
+    const auto vfsMode = bestAvailableVfsMode();
+    return ConfigFile().showExperimentalOptions() || vfsMode == Vfs::WindowsCfApi;
 }
 
 } // end namespace client