hopefully it will now compile on linux
This commit is contained in:
@@ -26,8 +26,11 @@ namespace chatterino {
|
||||
|
||||
bool Toasts::isEnabled()
|
||||
{
|
||||
#ifdef Q_OS_WIN
|
||||
return WinToastLib::WinToast::isCompatible() &&
|
||||
getSettings()->notificationToast;
|
||||
#endif
|
||||
return false;
|
||||
}
|
||||
|
||||
void Toasts::sendChannelNotification(const QString &channelName, Platform p)
|
||||
|
||||
@@ -15,7 +15,9 @@ public:
|
||||
static bool isEnabled();
|
||||
|
||||
private:
|
||||
#ifdef Q_OS_WIN
|
||||
void sendWindowsNotification(const QString &channelName, Platform p);
|
||||
#endif
|
||||
static void fetchChannelAvatar(
|
||||
const QString channelName,
|
||||
std::function<void(QString)> successCallback);
|
||||
|
||||
Reference in New Issue
Block a user