From fb87319a0eecdbe73acf0485a639b63c58156f99 Mon Sep 17 00:00:00 2001 From: fourtf Date: Tue, 18 Apr 2017 02:07:14 +0200 Subject: [PATCH 1/2] fixed compiling on linux --- widgets/mainwindow.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/widgets/mainwindow.h b/widgets/mainwindow.h index 61d00c54..49064052 100644 --- a/widgets/mainwindow.h +++ b/widgets/mainwindow.h @@ -4,7 +4,10 @@ #include "widgets/notebook.h" #include "widgets/titlebar.h" +#ifdef USEWINSDK #include +#endif + #include #include From 20b06990253f38f8c5f9bb8ee42c7554b83b24d8 Mon Sep 17 00:00:00 2001 From: fourtf Date: Tue, 18 Apr 2017 02:12:45 +0200 Subject: [PATCH 2/2] moved stuff to the thing where it should be --- twitch/twitchuser.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/twitch/twitchuser.cpp b/twitch/twitchuser.cpp index 4bf9c187..cb7ecda2 100644 --- a/twitch/twitchuser.cpp +++ b/twitch/twitchuser.cpp @@ -5,9 +5,9 @@ namespace twitch { TwitchUser::TwitchUser(const QString &username, const QString &oauthToken, const QString &oauthClient) : IrcUser2(username, username, username, "oauth:" + oauthToken) + , _oauthClient(oauthClient) + , _oauthToken(oauthToken) { - _oauthClient = oauthClient; - _oauthToken = oauthToken; } const QString &TwitchUser::getOAuthClient() const