mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Refactor icon unread counter painting.
This commit is contained in:
@@ -145,12 +145,6 @@ public:
|
||||
bool hideMediaView();
|
||||
|
||||
[[nodiscard]] QPoint getPointForCallPanelCenter() const;
|
||||
[[nodiscard]] QImage logo() const {
|
||||
return _logo;
|
||||
}
|
||||
[[nodiscard]] QImage logoNoMargin() const {
|
||||
return _logoNoMargin;
|
||||
}
|
||||
|
||||
void startSettingsAndBackground();
|
||||
[[nodiscard]] Settings &settings() {
|
||||
@@ -354,9 +348,6 @@ private:
|
||||
Media::Player::FloatDelegate *_defaultFloatPlayerDelegate = nullptr;
|
||||
Media::Player::FloatDelegate *_replacementFloatPlayerDelegate = nullptr;
|
||||
|
||||
const QImage _logo;
|
||||
const QImage _logoNoMargin;
|
||||
|
||||
rpl::variable<bool> _passcodeLock;
|
||||
bool _screenIsLocked = false;
|
||||
|
||||
|
Reference in New Issue
Block a user