summaryrefslogtreecommitdiff
path: root/utils/themeeditor/models
diff options
context:
space:
mode:
authorRobert Bieber <robby@bieberphoto.com>2010-07-14 07:38:09 +0000
committerRobert Bieber <robby@bieberphoto.com>2010-07-14 07:38:09 +0000
commit4b457d688b9b9c5b4b15babf93c04b8d2db489a9 (patch)
treeb2a3fa35fa6ac46d2ccf25c8d0018fe5c93b722f /utils/themeeditor/models
parent895e104603d3f8337a8d6f64e4c72e7583eff808 (diff)
Theme Editor: Added optional plaintext editing for config files
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27415 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'utils/themeeditor/models')
-rw-r--r--utils/themeeditor/models/projectmodel.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/themeeditor/models/projectmodel.cpp b/utils/themeeditor/models/projectmodel.cpp
index 632e0aa075..2663e8b426 100644
--- a/utils/themeeditor/models/projectmodel.cpp
+++ b/utils/themeeditor/models/projectmodel.cpp
@@ -39,6 +39,8 @@ ProjectModel::ProjectModel(QString config, EditorWindow* mainWindow,
if(!cfg.isReadable())
return;
+ settings.insert("configfile", config);
+
QTextStream fin(&cfg);
/* Storing the base directory */