diff options
author | Konstantinos Sideris <sideris.konstantin@gmail.com> | 2018-02-17 18:43:40 +0200 |
---|---|---|
committer | Konstantinos Sideris <sideris.konstantin@gmail.com> | 2018-02-17 18:43:40 +0200 |
commit | fdd5051dcf832e07447aef45e4c5955ce2cc42aa (patch) | |
tree | 393877eb965f956ad23cf22a04966f10be7724f4 /src/UserInfoWidget.cc | |
parent | 59e4148a7ce0e08009ded8e7691df23037f2c388 (diff) |
Remove QPropertyAnimation from modals to work around a regression on Qt 5.10.1 (#87)
Diffstat (limited to 'src/UserInfoWidget.cc')
-rw-r--r-- | src/UserInfoWidget.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/UserInfoWidget.cc b/src/UserInfoWidget.cc index 77aed5d5..5125b861 100644 --- a/src/UserInfoWidget.cc +++ b/src/UserInfoWidget.cc @@ -102,18 +102,17 @@ UserInfoWidget::UserInfoWidget(QWidget *parent) if (logoutModal_.isNull()) { logoutModal_ = QSharedPointer<OverlayModal>( new OverlayModal(MainWindow::instance(), logoutDialog_.data())); - logoutModal_->setDuration(0); logoutModal_->setColor(QColor(30, 30, 30, 170)); } - logoutModal_->fadeIn(); + logoutModal_->show(); }); } void UserInfoWidget::closeLogoutDialog(bool isLoggingOut) { - logoutModal_->fadeOut(); + logoutModal_->hide(); if (isLoggingOut) emit logout(); |