mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Shared media block done in the new profile implementation.
Preparing to call Notify::peerUpdatedSendDelayed() only from event loop.
This commit is contained in:
@@ -20,9 +20,11 @@ Copyright (c) 2014-2016 John Preston, https://desktop.telegram.org
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include "core/observer.h"
|
||||
|
||||
namespace Profile {
|
||||
|
||||
class BlockWidget : public TWidget {
|
||||
class BlockWidget : public TWidget, public Notify::Observer {
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
@@ -64,4 +66,6 @@ private:
|
||||
|
||||
};
|
||||
|
||||
int defaultOutlineButtonLeft();
|
||||
|
||||
} // namespace Profile
|
||||
|
Reference in New Issue
Block a user