fixed stuff
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
#include "providers/twitch/TwitchCommon.hpp"
|
||||
|
||||
#include <QString>
|
||||
#include <QThread>
|
||||
|
||||
namespace chatterino {
|
||||
|
||||
|
||||
@@ -18,6 +18,7 @@
|
||||
#include "singletons/Toasts.hpp"
|
||||
#include "singletons/WindowManager.hpp"
|
||||
#include "util/PostToThread.hpp"
|
||||
#include "widgets/Window.hpp"
|
||||
|
||||
#include <IrcConnection>
|
||||
#include <QJsonArray>
|
||||
@@ -400,10 +401,10 @@ void TwitchChannel::setLive(bool newLiveStatus)
|
||||
getApp()->toasts->sendChannelNotification(this->getName(),
|
||||
Platform::Twitch);
|
||||
}
|
||||
if (getApp()->settings->notificationPlaySound) {
|
||||
if (getSettings()->notificationPlaySound) {
|
||||
getApp()->notifications->playSound();
|
||||
}
|
||||
if (getApp()->settings->notificationFlashTaskbar) {
|
||||
if (getSettings()->notificationFlashTaskbar) {
|
||||
QApplication::alert(
|
||||
getApp()->windows->getMainWindow().window(), 2500);
|
||||
}
|
||||
|
||||
@@ -19,6 +19,8 @@
|
||||
|
||||
namespace chatterino {
|
||||
|
||||
enum class HighlightState;
|
||||
|
||||
struct Emote;
|
||||
using EmotePtr = std::shared_ptr<const Emote>;
|
||||
class EmoteMap;
|
||||
|
||||
Reference in New Issue
Block a user