2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-09-05 09:05:14 +00:00

Remove some calls to Auth().

This commit is contained in:
John Preston
2019-07-24 13:13:51 +02:00
parent 9cf4cf6dca
commit 06982fdf04
39 changed files with 573 additions and 444 deletions

View File

@@ -55,6 +55,9 @@ public:
QWidget *parent,
not_null<Window::SessionController*> controller,
Mode mode = Mode::Full);
~TabbedSelector();
AuthSession &session() const;
rpl::producer<EmojiPtr> emojiChosen() const;
rpl::producer<not_null<DocumentData*>> fileChosen() const;
@@ -99,8 +102,6 @@ public:
return _showRequests.events();
}
~TabbedSelector();
class Inner;
class InnerFooter;
@@ -146,9 +147,7 @@ private:
};
bool full() const;
Tab createTab(
SelectorTab type,
not_null<Window::SessionController*> controller);
Tab createTab(SelectorTab type);
void paintSlideFrame(Painter &p);
void paintContent(Painter &p);
@@ -185,6 +184,8 @@ private:
not_null<StickersListWidget*> stickers() const;
not_null<GifsListWidget*> gifs() const;
const not_null<Window::SessionController*> _controller;
Mode _mode = Mode::Full;
int _roundRadius = 0;
int _footerTop = 0;