diff options
| author | AL <26797547+Al12rs@users.noreply.github.com> | 2020-02-29 15:01:26 +0100 |
|---|---|---|
| committer | AL <26797547+Al12rs@users.noreply.github.com> | 2020-02-29 15:01:26 +0100 |
| commit | 99ac2c0e9a5f7e5707beb894f3c2933a1d803b7b (patch) | |
| tree | d7e23b43680e40ba35678169fb337970d249be68 /src/mainwindow.cpp | |
| parent | 5e83ecf8c4d42269bd71cbd11cf7f91fd4ca2508 (diff) | |
Fixed comboboxes and tooltip lagginess due to bad animations.
Diffstat (limited to 'src/mainwindow.cpp')
| -rw-r--r-- | src/mainwindow.cpp | 4 |
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); |
