quick linux fix
This commit is contained in:
@@ -32,6 +32,10 @@ Window::Window(WindowType _type)
|
|||||||
auto app = getApp();
|
auto app = getApp();
|
||||||
|
|
||||||
app->accounts->Twitch.currentUserChanged.connect([this] {
|
app->accounts->Twitch.currentUserChanged.connect([this] {
|
||||||
|
if (this->userLabel == nullptr) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
auto user = getApp()->accounts->Twitch.getCurrent();
|
auto user = getApp()->accounts->Twitch.getCurrent();
|
||||||
|
|
||||||
if (user->isAnon()) {
|
if (user->isAnon()) {
|
||||||
|
|||||||
@@ -42,7 +42,7 @@ protected:
|
|||||||
bool event(QEvent *event) override;
|
bool event(QEvent *event) override;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
RippleEffectLabel *userLabel;
|
RippleEffectLabel *userLabel = nullptr;
|
||||||
|
|
||||||
WindowType type;
|
WindowType type;
|
||||||
float dpi;
|
float dpi;
|
||||||
|
|||||||
Reference in New Issue
Block a user