diff --git a/Htmldocs/release_notes.html b/Htmldocs/release_notes.html index faf057be..e2dd1c9b 100644 --- a/Htmldocs/release_notes.html +++ b/Htmldocs/release_notes.html @@ -32,6 +32,7 @@
  • [fix] Newly entered notes no longer lost when importing new day or purging oximetry data.
  • [fix] Purge currently selected day no longer deletes bookmarks for that day.
  • [fix] Remove warning from Chromebook when importing from previously used local folder.
  • +
  • [fix] Update link to Contec drivers.
  • Changes and fixes in OSCAR v1.2.0 diff --git a/oscar/main.cpp b/oscar/main.cpp index c51ed436..29739096 100644 --- a/oscar/main.cpp +++ b/oscar/main.cpp @@ -564,8 +564,7 @@ int main(int argc, char *argv[]) { if (testFile.exists()) testFile.remove(); if (!testFile.open(QFile::ReadWrite)) { - QString errMsg = QObject::tr("Unable to write to OSCAR data directory") + " " + GetAppData() + "\n" + - GetAppData() + "\n" + + QString errMsg = QObject::tr("Unable to write to OSCAR data directory") + " " + GetAppData() + "\n\n" + QObject::tr("Error code") + ": " + QString::number(testFile.error()) + " - " + testFile.errorString() + "\n\n" + QObject::tr("OSCAR cannot continue and is exiting.") + "\n"; qCritical() << errMsg;