refactor: some Application & style things (#5561)

This commit is contained in:
pajlada
2024-08-25 15:33:07 +02:00
committed by GitHub
parent ac88730563
commit 627c735524
41 changed files with 733 additions and 678 deletions
+3 -1
View File
@@ -4,6 +4,8 @@
#include "singletons/Settings.hpp"
#include "singletons/WindowManager.hpp"
#include <QApplication>
namespace chatterino {
void GIFTimer::initialize()
@@ -24,7 +26,7 @@ void GIFTimer::initialize()
QObject::connect(&this->timer, &QTimer::timeout, [this] {
if (getSettings()->animationsWhenFocused &&
qApp->activeWindow() == nullptr)
QApplication::activeWindow() == nullptr)
{
return;
}