diff options
author | Ken Moore <ken@ixsystems.com> | 2017-06-29 13:49:55 -0400 |
---|---|---|
committer | Ken Moore <ken@ixsystems.com> | 2017-06-29 13:49:55 -0400 |
commit | 8e9676547274d3bd63d5f54a583ceb79f775f359 (patch) | |
tree | 2c80f19237d3e73e432c92b592823ff94678fa36 /src-qt5/core/libLumina/RootSubWindow.cpp | |
parent | Add in a "show" animation for windows when they appear (diff) | |
download | lumina-8e9676547274d3bd63d5f54a583ceb79f775f359.tar.gz lumina-8e9676547274d3bd63d5f54a583ceb79f775f359.tar.bz2 lumina-8e9676547274d3bd63d5f54a583ceb79f775f359.zip |
Make sure we set the root flag that window opacity is supported.
Diffstat (limited to 'src-qt5/core/libLumina/RootSubWindow.cpp')
-rw-r--r-- | src-qt5/core/libLumina/RootSubWindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src-qt5/core/libLumina/RootSubWindow.cpp b/src-qt5/core/libLumina/RootSubWindow.cpp index bf242eff..88dca132 100644 --- a/src-qt5/core/libLumina/RootSubWindow.cpp +++ b/src-qt5/core/libLumina/RootSubWindow.cpp @@ -265,10 +265,10 @@ void RootSubWindow::propertiesChanged(QList<NativeWindow::Property> props, QList //qDebug() << "Got Visibility Change:" << vals[i]; if(vals[i].toBool()){ WinWidget->setVisible(true); - this->show(); anim->setPropertyName("windowOpacity"); anim->setStartValue(0.0); anim->setEndValue(1.0); anim->start(); + this->show(); } else{ this->hide(); } break; |