mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Move many widget classes to lib_ui.
This commit is contained in:
@@ -13,7 +13,9 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
||||
#include "data/data_photo.h"
|
||||
#include "data/data_folder.h"
|
||||
#include "data/data_session.h"
|
||||
#include "data/data_file_origin.h"
|
||||
#include "base/unixtime.h"
|
||||
#include "base/crc32hash.h"
|
||||
#include "lang/lang_keys.h"
|
||||
#include "observer_peer.h"
|
||||
#include "apiwrap.h"
|
||||
@@ -69,7 +71,7 @@ style::color PeerUserpicColor(PeerId peerId) {
|
||||
PeerId FakePeerIdForJustName(const QString &name) {
|
||||
return peerFromUser(name.isEmpty()
|
||||
? 777
|
||||
: hashCrc32(name.constData(), name.size() * sizeof(QChar)));
|
||||
: base::crc32(name.constData(), name.size() * sizeof(QChar)));
|
||||
}
|
||||
|
||||
} // namespace Data
|
||||
|
Reference in New Issue
Block a user