fixed start on laod media player issue

preferencesAboutTextFull
Claudio Valerio 13 years ago
parent 15ea3abdb6
commit 3e7e2d8170
  1. 1
      src/gui/UBMediaPlayer.cpp
  2. 1
      src/gui/UBTeacherBarWidget.cpp

@ -242,7 +242,6 @@ void UBMediaPlayer::setFile(const QString &fileName)
{
setWindowTitle(fileName.right(fileName.length() - fileName.lastIndexOf('/') - 1));
m_MediaObject.setCurrentSource(Phonon::MediaSource(fileName));
m_MediaObject.play();
}
void UBMediaPlayer::setLocation(const QString& location)

@ -541,7 +541,6 @@ void UBTeacherBarDropMediaZone::addMedia(QString pMediaPath)
else if(mimeType.contains("video") || mimeType.contains("audio")){
UBMediaPlayer* mediaPlayer = new UBMediaPlayer();
mediaPlayer->setFile(pMediaPath);
mediaPlayer->playPause();
mWidget->addWidget(mediaPlayer);
mWidgetList << mediaPlayer;
}

Loading…
Cancel
Save