quick linux fix
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user