]> git.pld-linux.org Git - packages/seafile-client.git/blob - unknowwn-errors.patch
- up to 8.0.4
[packages/seafile-client.git] / unknowwn-errors.patch
1 --- seafile-client-8.0.4/src/utils/seafile-error.cpp~   2021-09-17 04:23:54.000000000 +0200
2 +++ seafile-client-8.0.4/src/utils/seafile-error.cpp    2021-10-12 23:38:32.287064065 +0200
3 @@ -99,14 +99,6 @@
4          case SYNC_ERROR_ID_REMOVE_UNCOMMITTED_FOLDER:
5              error_str = QObject::tr("A folder that may contain not-yet-uploaded files is moved to seafile-recycle-bin folder.");
6              break;
7 -#if !defined(Q_OS_WIN32)
8 -        case SYNC_ERROR_ID_INVALID_PATH_ON_WINDOWS:
9 -            error_str = QObject::tr("The file path contains symbols that are not supported by the Windows system");
10 -            break;
11 -#endif
12 -        case SYNC_ERROR_ID_LIBRARY_TOO_LARGE:
13 -            error_str = QObject::tr("Library is too large to sync.");
14 -            break;
15          default:
16              qWarning("Unknown sync error");
17      }
18 --- seafile-client-8.0.4/src/message-poller.cpp~        2021-09-17 04:23:54.000000000 +0200
19 +++ seafile-client-8.0.4/src/message-poller.cpp 2021-10-12 23:39:51.737017902 +0200
20 @@ -176,14 +176,6 @@
21          case SYNC_ERROR_ID_REMOVE_UNCOMMITTED_FOLDER:
22              msg = tr("Folder %1 is moved to seafile-recycle-bin folder since it contains not-yet uploaded files.").arg(path);
23              break;
24 -#if !defined(Q_OS_WIN32)
25 -        case SYNC_ERROR_ID_INVALID_PATH_ON_WINDOWS:
26 -            msg = tr("The file path %1 contains symbols that are not supported by the Windows system.").arg(path);
27 -            break;
28 -#endif
29 -        case SYNC_ERROR_ID_LIBRARY_TOO_LARGE:
30 -            msg = tr("Library is too large to sync.");
31 -            break;
32          default:
33              qWarning("Unknown sync error id %d", err_id);
34              json_decref(object);
This page took 0.048735 seconds and 3 git commands to generate.