소스 검색

Fix typo in usernamePrefillServerVersionMinSupportedMajor.

Signed-off-by: alex-z <blackslayer4@gmail.com>
alex-z 4 년 전
부모
커밋
6f5f3e769f
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/libsync/account.cpp

+ 2 - 2
src/libsync/account.cpp

@@ -57,7 +57,7 @@ using namespace QKeychain;
 
 namespace {
 constexpr int pushNotificationsReconnectInterval = 1000 * 60 * 2;
-constexpr int usernamePrefillServerVersinMinSupportedMajor = 24;
+constexpr int usernamePrefillServerVersionMinSupportedMajor = 24;
 constexpr int checksumRecalculateRequestServerVersionMinSupportedMajor = 24;
 }
 
@@ -633,7 +633,7 @@ bool Account::serverVersionUnsupported() const
 
 bool Account::isUsernamePrefillSupported() const
 {
-    return serverVersionInt() >= makeServerVersion(usernamePrefillServerVersinMinSupportedMajor, 0, 0);
+    return serverVersionInt() >= makeServerVersion(usernamePrefillServerVersionMinSupportedMajor, 0, 0);
 }
 
 bool Account::isChecksumRecalculateRequestSupported() const