Commit 85889854 authored by Erwan Tulou's avatar Erwan Tulou

skins2: setOpacity moved to a better place

Opacity used to work only on newly loaded skins, but failed to work from
skins restored from a previous session.
parent 29e8e98b
......@@ -425,7 +425,6 @@ void WindowManager::showAll( bool firstTime ) const
{
(*it)->show();
}
(*it)->setOpacity( m_alpha );
}
}
......
......@@ -120,7 +120,8 @@ public:
void raise( TopWindow &rWindow ) const { rWindow.raise(); }
/// Show the given window
void show( TopWindow &rWindow ) const { rWindow.show(); }
void show( TopWindow &rWindow ) const
{ rWindow.show(); rWindow.setOpacity( m_alpha); }
/// Hide the given window
void hide( TopWindow &rWindow ) const { rWindow.hide(); }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment