Workaround gcc bug
This commit is contained in:
parent
f0ceaf56ee
commit
e26fc26d7d
1 changed files with 2 additions and 2 deletions
|
|
@ -801,9 +801,9 @@ bool Manager::readCustomFile() {
|
|||
}
|
||||
|
||||
auto isPeerTypeRead = ReadStringOption(peer, "type", [&](auto type) {
|
||||
peerStruct.type = type.toLower() == qsl("channel")
|
||||
peerStruct.type = QString::compare(type.toLower(), "channel")
|
||||
? LocalFolder::Peer::Type::Channel
|
||||
: type.toLower() == qsl("chat")
|
||||
: QString::compare(type.toLower(), "chat")
|
||||
? LocalFolder::Peer::Type::Chat
|
||||
: LocalFolder::Peer::Type::User;
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue