diff options
Diffstat (limited to 'src-qt5/core/libLumina/RootSubWindow.cpp')
-rw-r--r-- | src-qt5/core/libLumina/RootSubWindow.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src-qt5/core/libLumina/RootSubWindow.cpp b/src-qt5/core/libLumina/RootSubWindow.cpp index 88dca132..0aa97c54 100644 --- a/src-qt5/core/libLumina/RootSubWindow.cpp +++ b/src-qt5/core/libLumina/RootSubWindow.cpp @@ -265,8 +265,9 @@ void RootSubWindow::propertiesChanged(QList<NativeWindow::Property> props, QList //qDebug() << "Got Visibility Change:" << vals[i]; if(vals[i].toBool()){ WinWidget->setVisible(true); - anim->setPropertyName("windowOpacity"); - anim->setStartValue(0.0); anim->setEndValue(1.0); + anim->setPropertyName("geometry"); + anim->setStartValue( QRect(this->geometry().center(), QSize(0,0)) ); + anim->setEndValue(this->geometry()); anim->start(); this->show(); } |