mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-15 13:47:05 +02:00
Renamed FillProfileQrBox to FillPeerQrBox.
This commit is contained in:
parent
1db426da2e
commit
8c915e6dc3
4 changed files with 7 additions and 7 deletions
|
@ -1482,8 +1482,8 @@ PRIVATE
|
|||
support/support_templates.h
|
||||
ui/boxes/edit_invite_link_session.cpp
|
||||
ui/boxes/edit_invite_link_session.h
|
||||
ui/boxes/profile_qr_box.cpp
|
||||
ui/boxes/profile_qr_box.h
|
||||
ui/boxes/peer_qr_box.cpp
|
||||
ui/boxes/peer_qr_box.h
|
||||
ui/chat/attach/attach_item_single_file_preview.cpp
|
||||
ui/chat/attach/attach_item_single_file_preview.h
|
||||
ui/chat/attach/attach_item_single_media_preview.cpp
|
||||
|
|
|
@ -51,7 +51,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
|||
#include "main/main_session.h"
|
||||
#include "menu/menu_mute.h"
|
||||
#include "support/support_helper.h"
|
||||
#include "ui/boxes/profile_qr_box.h"
|
||||
#include "ui/boxes/peer_qr_box.h"
|
||||
#include "ui/boxes/report_box.h"
|
||||
#include "ui/controls/userpic_button.h"
|
||||
#include "ui/painter.h"
|
||||
|
@ -1121,7 +1121,7 @@ object_ptr<Ui::RpWidget> DetailsFiller::setupInfo() {
|
|||
copyUsername->setClickedCallback([=] {
|
||||
if (!user->isBot()) {
|
||||
controller->show(Box([=](not_null<Ui::GenericBox*> box) {
|
||||
Ui::FillProfileQrBox(box, user);
|
||||
Ui::FillPeerQrBox(box, user);
|
||||
}));
|
||||
return false;
|
||||
}
|
||||
|
|
|
@ -5,7 +5,7 @@ the official desktop application for the Telegram messaging service.
|
|||
For license and copyright information please follow this link:
|
||||
https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
||||
*/
|
||||
#include "ui/boxes/profile_qr_box.h"
|
||||
#include "ui/boxes/peer_qr_box.h"
|
||||
|
||||
#include "core/application.h"
|
||||
#include "data/data_cloud_themes.h"
|
||||
|
@ -336,7 +336,7 @@ void Paint(
|
|||
|
||||
} // namespace
|
||||
|
||||
void FillProfileQrBox(
|
||||
void FillPeerQrBox(
|
||||
not_null<Ui::GenericBox*> box,
|
||||
not_null<PeerData*> peer) {
|
||||
const auto window = Core::App().findWindow(box);
|
|
@ -13,7 +13,7 @@ namespace Ui {
|
|||
|
||||
class GenericBox;
|
||||
|
||||
void FillProfileQrBox(
|
||||
void FillPeerQrBox(
|
||||
not_null<Ui::GenericBox*> box,
|
||||
not_null<PeerData*> peer);
|
||||
|
Loading…
Add table
Reference in a new issue