Changeset 147 in pacpusframework for branches/2.0-beta1/src/PacpusLib/XmlConfigFile.cpp
- Timestamp:
- Jul 31, 2013, 1:17:16 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.0-beta1/src/PacpusLib/XmlConfigFile.cpp
r146 r147 21 21 XmlConfigFile * XmlConfigFile::m_xmlConfigFile = NULL; 22 22 23 static const string kPropertyPluginList = "list"; 24 25 static const string kXmlConfigFilename = "pacpus_config.xml"; 23 static const char * kXmlConfigFilename = "pacpus_config.xml"; 26 24 27 25 static const char * kRootSection = "pacpus"; … … 59 57 m_document.documentElement().appendChild(m_document.createElement(kComponentSection)); 60 58 m_document.documentElement().appendChild(m_document.createElement(kConnectionSection)); 61 m_file.setFileName(kXmlConfigFilename .c_str());59 m_file.setFileName(kXmlConfigFilename); 62 60 bool isOpenedSuccessfully = m_file.open(QIODevice::ReadWrite); // FIXME: ReadOnly ? 63 61 if (isOpenedSuccessfully) {
Note:
See TracChangeset
for help on using the changeset viewer.