Added empty session skip back in for ResMed importer

This commit is contained in:
Mark Watkins 2014-05-07 10:12:42 +10:00
parent 3f86358507
commit fcbfc8cc92

View File

@ -1582,14 +1582,13 @@ int ResmedLoader::Open(QString &path, Profile *profile)
// Add the session to the machine & profile objects // Add the session to the machine & profile objects
//if (!dodgy) //if (!dodgy)
// FIXME: Deliberately broken, uncomment if (sess->length() > 0) {
// if (sess->length() > 0) {
m->AddSession(sess, profile); m->AddSession(sess, profile);
// } else { } else {
// // Hmm.. this means a ton of these could slow down import. // // Hmm.. this means a ton of these could slow down import.
// // I could instead set these to disabled by default, or implement a dodgy session marker // // I could instead set these to disabled by default, or implement a dodgy session marker
// delete sess; delete sess;
// } }
} }
} }