new settings page

This commit is contained in:
fourtf
2018-10-31 19:45:51 +01:00
parent a0b6e4bb76
commit 3c3be99177
23 changed files with 651 additions and 101 deletions
+1 -1
View File
@@ -28,7 +28,7 @@ void LinkResolver::getLinkInfo(
if (statusCode == 200)
{
response = root.value("tooltip").toString();
if (getSettings()->enableUnshortLinks)
if (getSettings()->unshortLinks)
{
linkString = root.value("link").toString();
}
+1
View File
@@ -48,6 +48,7 @@ void FfzModBadge::loadCustomModBadge()
Url{url}};
this->badge_ = std::make_shared<Emote>(emote);
// getBadge.execute();
return Success;
});
-3
View File
@@ -474,12 +474,9 @@ void TwitchChannel::refreshLiveStatus()
QString url("https://api.twitch.tv/kraken/streams/" + roomID);
//<<<<<<< HEAD
// auto request = makeGetStreamRequest(roomID, QThread::currentThread());
//=======
auto request = NetworkRequest::twitchRequest(url);
request.setCaller(QThread::currentThread());
//>>>>>>> 9bfbdefd2f0972a738230d5b95a009f73b1dd933
request.onSuccess(
[this, weak = weakOf<Channel>(this)](auto result) -> Outcome {