summaryrefslogtreecommitdiff
path: root/utils/themeeditor/models/targetdata.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'utils/themeeditor/models/targetdata.cpp')
-rw-r--r--utils/themeeditor/models/targetdata.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/utils/themeeditor/models/targetdata.cpp b/utils/themeeditor/models/targetdata.cpp
index a20a4cf..70d2319 100644
--- a/utils/themeeditor/models/targetdata.cpp
+++ b/utils/themeeditor/models/targetdata.cpp
@@ -49,6 +49,7 @@ TargetData::TargetData(QString file)
QRect rSize(0, 0, 0, 0);
ScreenDepth rDepth = None;
bool fm = false;
+ bool record = false;
if(id == "")
break;
@@ -119,13 +120,19 @@ TargetData::TargetData(QString file)
if(s.toLower() == "yes")
fm = true;
}
+ else if(key.toLower() == "record")
+ {
+ QString s = scanString(data, cursor);
+ if(s.toLower() == "yes")
+ record = true;
+ }
}
}
/* Checking for the closing '}' and adding the entry */
if(require('}', data, cursor))
{
- entries.append(Entry(name, size, depth, rSize, rDepth, fm));
+ entries.append(Entry(name, size, depth, rSize, rDepth, fm, record));
indices.insert(id, index);
index++;
}