refactor: some Application & style things (#5561)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user