Commit acf06652 authored by Anthony Fieroni's avatar Anthony Fieroni

Hide thumbnail widget after video ends

Differential Revision: https://phabricator.kde.org/D11060Signed-off-by: Anthony Fieroni's avatarAnthony Fieroni <bvbfan@abv.bg>
parent c0d82f24
......@@ -440,6 +440,9 @@ MainWindow::toggleLoadView()
}
m_mainView->setCurrentWidget(m_currentWidget);
}
if (engine()->state() == Phonon::StoppedState) {
m_loadView->setThumbnail(nullptr);
}
engine()->isPreview(false);
} else if( m_currentWidget != m_audioView ) {
m_mainView->setCurrentWidget( m_loadView );
......
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