2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-01 23:15:59 +00:00

Moved out GroupMembersWidget to correspond file and namespace.

This commit is contained in:
23rd
2025-08-11 15:37:16 +03:00
parent 35d2fff593
commit 04479ad660
4 changed files with 10 additions and 10 deletions

View File

@@ -876,6 +876,8 @@ PRIVATE
history/view/history_view_fake_items.h history/view/history_view_fake_items.h
history/view/history_view_group_call_bar.cpp history/view/history_view_group_call_bar.cpp
history/view/history_view_group_call_bar.h history/view/history_view_group_call_bar.h
history/view/history_view_group_members_widget.cpp
history/view/history_view_group_members_widget.h
history/view/history_view_item_preview.h history/view/history_view_item_preview.h
history/view/history_view_list_widget.cpp history/view/history_view_list_widget.cpp
history/view/history_view_list_widget.h history/view/history_view_list_widget.h
@@ -1427,8 +1429,6 @@ PRIVATE
platform/platform_window_title.h platform/platform_window_title.h
profile/profile_back_button.cpp profile/profile_back_button.cpp
profile/profile_back_button.h profile/profile_back_button.h
profile/profile_block_group_members.cpp
profile/profile_block_group_members.h
profile/profile_block_peer_list.cpp profile/profile_block_peer_list.cpp
profile/profile_block_peer_list.h profile/profile_block_peer_list.h
profile/profile_block_widget.cpp profile/profile_block_widget.cpp

View File

@@ -115,6 +115,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
#include "history/view/history_view_pinned_section.h" #include "history/view/history_view_pinned_section.h"
#include "history/view/history_view_pinned_bar.h" #include "history/view/history_view_pinned_bar.h"
#include "history/view/history_view_group_call_bar.h" #include "history/view/history_view_group_call_bar.h"
#include "history/view/history_view_group_members_widget.h"
#include "history/view/history_view_item_preview.h" #include "history/view/history_view_item_preview.h"
#include "history/view/history_view_reply.h" #include "history/view/history_view_reply.h"
#include "history/view/history_view_requests_bar.h" #include "history/view/history_view_requests_bar.h"
@@ -122,7 +123,6 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
#include "history/view/history_view_subsection_tabs.h" #include "history/view/history_view_subsection_tabs.h"
#include "history/view/history_view_translate_bar.h" #include "history/view/history_view_translate_bar.h"
#include "history/view/media/history_view_media.h" #include "history/view/media/history_view_media.h"
#include "profile/profile_block_group_members.h"
#include "core/click_handler_types.h" #include "core/click_handler_types.h"
#include "chat_helpers/field_autocomplete.h" #include "chat_helpers/field_autocomplete.h"
#include "chat_helpers/tabbed_panel.h" #include "chat_helpers/tabbed_panel.h"
@@ -5806,7 +5806,7 @@ void HistoryWidget::showMembersDropdown() {
if (!_membersDropdown) { if (!_membersDropdown) {
_membersDropdown.create(this, st::membersInnerDropdown); _membersDropdown.create(this, st::membersInnerDropdown);
_membersDropdown->setOwnedWidget( _membersDropdown->setOwnedWidget(
object_ptr<Profile::GroupMembersWidget>( object_ptr<HistoryView::GroupMembersWidget>(
this, this,
controller(), controller(),
_peer, _peer,

View File

@@ -5,7 +5,7 @@ the official desktop application for the Telegram messaging service.
For license and copyright information please follow this link: For license and copyright information please follow this link:
https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
*/ */
#include "profile/profile_block_group_members.h" #include "history/view/history_view_group_members_widget.h"
#include "api/api_chat_participants.h" #include "api/api_chat_participants.h"
#include "styles/style_profile.h" #include "styles/style_profile.h"
@@ -27,7 +27,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
#include "lang/lang_keys.h" #include "lang/lang_keys.h"
#include "window/window_session_controller.h" #include "window/window_session_controller.h"
namespace Profile { namespace HistoryView {
namespace { namespace {
using UpdateFlag = Data::PeerUpdate::Flag; using UpdateFlag = Data::PeerUpdate::Flag;
@@ -481,4 +481,4 @@ GroupMembersWidget::~GroupMembersWidget() {
} }
} }
} // namespace Profile } // namespace HistoryView

View File

@@ -23,9 +23,9 @@ namespace Window {
class SessionController; class SessionController;
} // namespace Window } // namespace Window
namespace Profile { namespace HistoryView {
class GroupMembersWidget : public PeerListWidget { class GroupMembersWidget : public Profile::PeerListWidget {
public: public:
GroupMembersWidget( GroupMembersWidget(
@@ -91,4 +91,4 @@ private:
}; };
} // namespace Profile } // namespace HistoryView