]> Creatis software - creaImageIO.git/blobdiff - src2/creaImageIOSettings.cpp
Message for remove patients action
[creaImageIO.git] / src2 / creaImageIOSettings.cpp
index 92908785bc43de2a340dfba8254150d64e3ad3a7..770a80215678d69e318623d8b4c76892dee824f1 100644 (file)
@@ -4,6 +4,10 @@
 #include <iostream>
 #include <fstream>
 
+// Memory tracking allocation
+#ifdef _DEBUG
+#define new DEBUG_NEW
+#endif
 using namespace boost;
 namespace po = boost::program_options;
 
@@ -35,6 +39,7 @@ namespace creaImageIO
                Keys.push_back(SETTINGS_DBPATH);
                Keys.push_back(SETTINGS_SYNC_FREQ);
                Keys.push_back(SETTINGS_COPY_PATH);
+               Keys.push_back(SETTINGS_REMOVE_PATIENT_DISPLAY);
                readSettings(Keys, sets);
 
     }
@@ -57,6 +62,7 @@ namespace creaImageIO
        m_SettingsMap[SETTINGS_DBPATH] = "";
        m_SettingsMap[SETTINGS_DICOM_LIBRARY] = "gdcm";
           m_SettingsMap[SETTINGS_COPY_PATH] = m_SettingsFileName.substr(0,m_SettingsFileName.find_last_of('\\')+1)+"Copied files";
+          m_SettingsMap[SETTINGS_REMOVE_PATIENT_DISPLAY] = "0";
        writeSettingsFile();
    }