updateEntrylist();
- m_currentIndex = 0;
+ m_currentIndex = count() ? 0 : -1;
}
int DirectoryPlaylist::indexOfFile(const QString &file) const
<< "*.ogm"
<< "*.wmv"
<< "*.avi"
+ << "*.mpg"
<< "*.flv",
QDir::Files | QDir::Readable,
QDir::Name);
this,
tr("Open media"),
dir,
- tr("Video files (*.mkv *.mp4 *.ogg *.ogm *.wmv *.avi *.flv);;All files (*)")
+ tr("Video files (*.mkv *.mp4 *.ogg *.ogm *.wmv *.avi *.mpg *.flv);;All files (*)")
);
if (file == "")
void VideoWindow::markingStatus(AniDBUdpClient::File::Action action, AniDBUdpClient::File::ActionState actionState, int percent)
{
- qDebug() << "markingStatus called";
AniDBUdpClient::File *file = (AniDBUdpClient::File *) sender();
switch (action)
{