mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 06:54:43 +00:00
Use base::weak_qptr / base::make_weak.
This commit is contained in:
@@ -104,7 +104,7 @@ private:
|
||||
bool handleTransferPasswordError(const QString &error);
|
||||
void requestTransferPassword(not_null<ChannelData*> channel);
|
||||
void sendTransferRequestFrom(
|
||||
QPointer<PasscodeBox> box,
|
||||
base::weak_qptr<PasscodeBox> box,
|
||||
not_null<ChannelData*> channel,
|
||||
const Core::CloudPasswordResult &result);
|
||||
bool canSave() const {
|
||||
@@ -124,7 +124,7 @@ private:
|
||||
ChatAdminRightsInfo,
|
||||
const QString &rank)> _saveCallback;
|
||||
|
||||
QPointer<Ui::BoxContent> _confirmBox;
|
||||
base::weak_qptr<Ui::BoxContent> _confirmBox;
|
||||
Ui::Checkbox *_addAsAdmin = nullptr;
|
||||
Ui::SlideWrap<Ui::VerticalLayout> *_adminControlsWrap = nullptr;
|
||||
Ui::InputField *_rank = nullptr;
|
||||
|
||||
Reference in New Issue
Block a user