screen shot when invisible bug fixed

preferencesAboutTextFull
Claudio Valerio 13 years ago
parent 8ee02a4be1
commit 1234e3e670
  1. 2
      src/customWidgets/UBMediaWidget.cpp

@ -199,7 +199,7 @@ void UBMediaWidget::adaptSizeToVideo()
void UBMediaWidget::updateView(Phonon::State nextState)
{
if(eMediaType_Video == mType){
if(isVisible() && eMediaType_Video == mType){
if(nextState != Phonon::PlayingState){
const QPixmap& snapshot = QPixmap::grabWindow(mpVideoWidget->winId());
mpSnapshotVideoWidget->setPixmap(snapshot);

Loading…
Cancel
Save