1
0
mirror of https://gitlab.com/pholy/OSCAR-code.git synced 2025-04-08 20:20:44 +00:00

Add support for Viatom/Wellue files that have a SleepU_ etc. prefix.

This commit is contained in:
sawinglogz 2021-09-15 16:06:21 -04:00
parent 30b93c564e
commit 79c5809b59

View File

@ -208,7 +208,8 @@ void ViatomLoader::EndEventList(ChannelID channel, qint64 /*t*/)
QStringList ViatomLoader::getNameFilter()
{
return QStringList("20[0-5][0-9][01][0-9][0-3][0-9][012][0-9][0-5][0-9][0-5][0-9]");
// Sometimes the files have a SleepU_ or O2Ring_ prefix.
return QStringList("*20[0-5][0-9][01][0-9][0-3][0-9][012][0-9][0-5][0-9][0-5][0-9]");
}
static bool viatom_initialized = false;