OSCAR-code/oscar/SleepLib
sawinglogz 84b900ca90 Remove the m_machopened flag from Profile, which caused newly created profiles
to act differently from profiles after a subsequent application launch.

It was only getting set at the end of Profile::OpenMachines, which was only
called by the Profile constructor, and which wouldn't succeed on a newly created
profile, having no files to open. Therefore, the only way for the flag to be set
was to quit and re-launch the application after creating the profile.

The flag's only remaining use was to make sure that OpenMachines() wasn't
getting called twice and trampling an existing list of machines, so the check
there was changed from looking at a brittle flag to looking at the actual list
of machines.

A critical warning was also added to the check, since OpenMachines() is
only getting called from the Profile constructor and therefore can't
be invoked twice unless a new bug has been introduced.
2019-08-15 16:56:44 -04:00
..
loader_plugins Merge branch 'master' into prs1-f0v6 2019-08-14 09:15:39 -04:00
appsettings.h Default right sidebar off, calendar off, pie chart off with new OSCAR folder. 2019-07-19 06:43:53 -07:00
calcs.cpp Change folder and file name from oscr to oscar 2019-02-22 19:23:39 -05:00
calcs.h Change folder and file name from oscr to oscar 2019-02-22 19:23:39 -05:00
common.cpp Test builds use settings key of oscar-test, branch builds oscar-branch, and release builds just oscar. Default data directory named similarly. 2019-08-12 16:02:53 -07:00
common.h Fix deprecated-copy errors and made deprecated-declarations just a warning 2019-08-06 23:49:51 +02:00
day.cpp Add a critical warning when a duplicate session is added to a Day object. 2019-08-15 16:14:54 -04:00
day.h Add Day::removeMachine to detect and clean up dangling references rather than 2019-08-15 15:49:40 -04:00
event.cpp Fix PRS1 F0V23 PB parsing bug that triggered unordered data warnings. 2019-06-04 20:11:50 -04:00
event.h Make Event and Loader/PRS1Loader protected and private members public during unit testing. 2019-05-04 21:50:45 -04:00
journal.cpp Change OSCR to OSCAR in cpp, h, ui, and html files 2019-02-23 19:58:25 -05:00
journal.h Change folder and file name from oscr to oscar 2019-02-22 19:23:39 -05:00
machine_common.cpp Change folder and file name from oscr to oscar 2019-02-22 19:23:39 -05:00
machine_common.h Merge branch 'master' into dateformat 2019-08-08 16:26:02 -07:00
machine_loader.cpp Clean up by deleting unused threading code and re-grouping declarations 2019-07-12 15:58:14 -04:00
machine_loader.h Clean up by deleting unused threading code and re-grouping declarations 2019-07-12 15:58:14 -04:00
machine.cpp Add a critical warning and skip when attempting to add a duplicate session to a Machine object. 2019-08-15 16:18:23 -04:00
machine.h Clean up by deleting unused threading code and re-grouping declarations 2019-07-12 15:58:14 -04:00
preferences.cpp Change Settings/AppRoot to Settings/AppData to reduce confusion between execuable path and data folder path 2019-03-25 19:43:04 -04:00
preferences.h Add utility to rename a preference setting 2019-07-14 20:23:23 -07:00
profiles.cpp Remove the m_machopened flag from Profile, which caused newly created profiles 2019-08-15 16:56:44 -04:00
profiles.h Remove the m_machopened flag from Profile, which caused newly created profiles 2019-08-15 16:56:44 -04:00
progressdialog.cpp Change folder and file name from oscr to oscar 2019-02-22 19:23:39 -05:00
progressdialog.h Change folder and file name from oscr to oscar 2019-02-22 19:23:39 -05:00
schema.cpp Clarified Unclassified Apnea description 2019-03-25 19:34:01 -04:00
schema.h Fix deprecated-copy errors and made deprecated-declarations just a warning 2019-08-06 23:49:51 +02:00
serialoximeter.cpp Add moule name to debug, force tab enable after import 2019-06-11 10:30:51 -04:00
serialoximeter.h Change folder and file name from oscr to oscar 2019-02-22 19:23:39 -05:00
session.cpp Diagnostic changes for a future feature 2019-07-25 06:25:03 -07:00
session.h Improve qWarning message to show timestamps causing the warning. 2019-06-24 10:08:53 -07:00