projects
/
scorecard
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use MyDoc directory for user data
[scorecard]
/
src
/
main-window.cpp
diff --git
a/src/main-window.cpp
b/src/main-window.cpp
index
0b53fd4
..
6cd05d3
100644
(file)
--- a/
src/main-window.cpp
+++ b/
src/main-window.cpp
@@
-233,7
+233,8
@@
void MainWindow::loadSettings(void)
}
#endif
- userDataDir = QDir::homePath() + "/." + appName;
+ // Use MyDoc directory to get automatic backup/restore
+ userDataDir = QDir::homePath() + "/MyDocs/." + appName;
QDir dir(userDataDir);
if (!dir.exists())
if (!dir.mkpath(userDataDir)) {