equal
deleted
inserted
replaced
197 } |
197 } |
198 |
198 |
199 return m_settingsFileName; |
199 return m_settingsFileName; |
200 } |
200 } |
201 |
201 |
|
202 QString DataManager::safeFileName(QString fileName) |
|
203 { |
|
204 fileName.replace('\\', '_'); |
|
205 fileName.replace('/', '_'); |
|
206 fileName.replace(':', '_'); |
|
207 |
|
208 return fileName; |
|
209 } |
|
210 |
202 void DataManager::reload() |
211 void DataManager::reload() |
203 { |
212 { |
204 // removed for now (also code was a bit unclean, could lead to segfault if |
213 // removed for now (also code was a bit unclean, could lead to segfault if |
205 // reload() is called before all members are initialized - because currently |
214 // reload() is called before all members are initialized - because currently |
206 // they are initialized in the getter methods rather than the constructor) |
215 // they are initialized in the getter methods rather than the constructor) |