mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
quick linux fix
This commit is contained in:
parent
90551acf37
commit
08cf701af3
2 changed files with 5 additions and 1 deletions
|
@ -32,6 +32,10 @@ Window::Window(WindowType _type)
|
|||
auto app = getApp();
|
||||
|
||||
app->accounts->Twitch.currentUserChanged.connect([this] {
|
||||
if (this->userLabel == nullptr) {
|
||||
return;
|
||||
}
|
||||
|
||||
auto user = getApp()->accounts->Twitch.getCurrent();
|
||||
|
||||
if (user->isAnon()) {
|
||||
|
|
|
@ -42,7 +42,7 @@ protected:
|
|||
bool event(QEvent *event) override;
|
||||
|
||||
private:
|
||||
RippleEffectLabel *userLabel;
|
||||
RippleEffectLabel *userLabel = nullptr;
|
||||
|
||||
WindowType type;
|
||||
float dpi;
|
||||
|
|
Loading…
Reference in a new issue