mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Replace ContactsBox with PeerListBox in two cases.
- View contacts list in PeerListBox. - Add participants when creating group / channel in PeerListBox.
This commit is contained in:
@@ -78,7 +78,7 @@ enum class FileOption {
|
||||
User = 0x01,
|
||||
Safe = 0x02,
|
||||
};
|
||||
Q_DECLARE_FLAGS(FileOptions, FileOption);
|
||||
using FileOptions = QFlags<FileOption>;
|
||||
Q_DECLARE_OPERATORS_FOR_FLAGS(FileOptions);
|
||||
|
||||
bool keyAlreadyUsed(QString &name, FileOptions options = FileOption::User | FileOption::Safe) {
|
||||
|
Reference in New Issue
Block a user