Fixing creation and use of profile direcory

This commit is contained in:
Philip Rinn
2010-08-18 23:55:16 +02:00
parent dc4deeab0c
commit ca573c4d8a
6 changed files with 17 additions and 19 deletions

View File

@@ -430,8 +430,6 @@ void Options::load () {
if (options.multiUser) {
int r = options.readFromFile (rtdir + "/options");
if (r && !g_mkdir_with_parents (rtdir.c_str(), 511)) {
Glib::ustring profdir = rtdir + "/profiles";
g_mkdir_with_parents (profdir.c_str(), 511);
options.saveToFile (rtdir + "/options");
}
#ifdef _WIN32