summaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
authorAL <26797547+Al12rs@users.noreply.github.com>2020-02-29 15:01:26 +0100
committerAL <26797547+Al12rs@users.noreply.github.com>2020-02-29 15:01:26 +0100
commit99ac2c0e9a5f7e5707beb894f3c2933a1d803b7b (patch)
treed7e23b43680e40ba35678169fb337970d249be68 /src/mainwindow.cpp
parent5e83ecf8c4d42269bd71cbd11cf7f91fd4ca2508 (diff)
Fixed comboboxes and tooltip lagginess due to bad animations.
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index 5c2201e4..85d0fe39 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -234,8 +234,12 @@ MainWindow::MainWindow(Settings &settings
// disables incredibly slow menu fade in effect that looks and feels like crap.
// this was only happening to users with the windows
// "Fade or slide menus into view" effect enabled.
+ // maybe in the future the effects will be better at this moment they aren't.
QApplication::setEffectEnabled(Qt::UI_FadeMenu, false);
QApplication::setEffectEnabled(Qt::UI_AnimateMenu, false);
+ QApplication::setEffectEnabled(Qt::UI_AnimateCombo, false);
+ QApplication::setEffectEnabled(Qt::UI_AnimateTooltip, false);
+ QApplication::setEffectEnabled(Qt::UI_FadeTooltip, false);
QWebEngineProfile::defaultProfile()->setPersistentCookiesPolicy(QWebEngineProfile::NoPersistentCookies);
QWebEngineProfile::defaultProfile()->setHttpCacheMaximumSize(52428800);