diff options
author | Christian Kamm <mail@ckamm.de> | 2017-03-14 17:57:57 +0300 |
---|---|---|
committer | Markus Goetz <markus@woboq.com> | 2017-03-15 18:30:08 +0300 |
commit | b98876e265b612df7aea21c3b33bb930ce570192 (patch) | |
tree | fbcd293a9ff25035afde82a376c3a45485c198c5 /src/gui/sharedialog.cpp | |
parent | dbb5bcb7841ecddcf4f84759b2850e98f5f59d7c (diff) |
Account server version: Helper to create versions
Hex literals don't work well with version 10: 0x100000 doesn't do
the right thing.
Diffstat (limited to 'src/gui/sharedialog.cpp')
-rw-r--r-- | src/gui/sharedialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/sharedialog.cpp b/src/gui/sharedialog.cpp index 831807da8..7506e4f92 100644 --- a/src/gui/sharedialog.cpp +++ b/src/gui/sharedialog.cpp @@ -176,7 +176,7 @@ void ShareDialog::showSharingUi() // We only do user/group sharing from 8.2.0 bool userGroupSharing = theme->userGroupSharing() - && _accountState->account()->serverVersionInt() >= ((8 << 16) + (2 << 8)); + && _accountState->account()->serverVersionInt() >= Account::makeServerVersion(8, 2, 0); bool autoShare = !userGroupSharing; |