You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
killed deadwood
renamed Vfs::checkAvailability and changed return type to simple string
updated callers and added copious todo's related to this topic of having local paths that don't support vfs even when vfs is otherwise available. See DC-219 for that
auto msg = newQMessageBox(QMessageBox::Warning, FolderWizard::tr("Virtual files are not available for the selected folder"), availability.error(), QMessageBox::Ok, ocApp()->gui()->settingsDialog());
// I'm not testing the case that vfs is actually the chosen mode here as if vfs is available we should just block dirs that don't support it,
236
236
// the idea being that eg if they change the mode in the page after they select the dir, or use selective sync with vfs later, at least we know the default
237
237
// root they select here will not cause any issues down the road
238
-
if (_vfsIsAvailable && !FolderMan::instance()->checkVfsAvailability(rootPath)) {
239
-
_errorField->setText(errorMessageTemplate.arg(rootPath, tr("selected path does not support using virtual file system.")));
240
-
returnfalse;
238
+
// todo: use this same approach when fixing the folder wizard as part of DC-219
0 commit comments