diff options
Diffstat (limited to 'common/resourceconfig.cpp')
-rw-r--r-- | common/resourceconfig.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/common/resourceconfig.cpp b/common/resourceconfig.cpp index cfde4e9..a4e5fc5 100644 --- a/common/resourceconfig.cpp +++ b/common/resourceconfig.cpp | |||
@@ -71,6 +71,11 @@ QMap<QByteArray, QByteArray> ResourceConfig::getResources() | |||
71 | return resources; | 71 | return resources; |
72 | } | 72 | } |
73 | 73 | ||
74 | QByteArray ResourceConfig::getResourceType(const QByteArray &identifier) | ||
75 | { | ||
76 | return getResources().value(identifier); | ||
77 | } | ||
78 | |||
74 | void ResourceConfig::clear() | 79 | void ResourceConfig::clear() |
75 | { | 80 | { |
76 | auto settings = getConfig("resources"); | 81 | auto settings = getConfig("resources"); |