Tried chaning the color of the split when a channel is live

This commit is contained in:
apa420
2018-08-14 16:29:52 +02:00
parent 93bbe33664
commit b671fc4133
7 changed files with 22 additions and 6 deletions
@@ -2,6 +2,7 @@
#include "Application.hpp"
#include "controllers/notifications/NotificationModel.hpp"
#include "singletons/Toasts.hpp"
#include <wintoastlib.h>
@@ -73,7 +74,7 @@ void NotificationController::removeChannelNotification(
}
}
}
///////////////////////////////////////////////////
void NotificationController::playSound()
{
static auto player = new QMediaPlayer;
@@ -93,7 +94,7 @@ void NotificationController::playSound()
}
player->play();
}
///////////////////////////////////////////////////
NotificationModel *NotificationController::createModel(QObject *parent,
Platform p)
{