Changeset View
Changeset View
Standalone View
Standalone View
libs/ui/KisResourceBundleManifest.cpp
Show First 20 Lines • Show All 41 Lines • ▼ Show 20 Line(s) | 41 | else if (type.startsWith("kis_")) { | |||
---|---|---|---|---|---|
42 | return type.mid(4); | 42 | return type.mid(4); | ||
43 | } | 43 | } | ||
44 | else { | 44 | else { | ||
45 | return type; | 45 | return type; | ||
46 | } | 46 | } | ||
47 | } | 47 | } | ||
48 | 48 | | |||
49 | QString manifestTypeToResourceType(const QString &type) { | 49 | QString manifestTypeToResourceType(const QString &type) { | ||
50 | if (type == "patterns" || type == "gradients" || type == "palettes") { | 50 | if (type == "patterns" || type == "gradients" || type == "palettes" || type == "gamutmasks") { | ||
51 | return "ko_" + type; | 51 | return "ko_" + type; | ||
52 | } | 52 | } | ||
53 | else { | 53 | else { | ||
54 | return "kis_" + type; | 54 | return "kis_" + type; | ||
55 | } | 55 | } | ||
56 | } | 56 | } | ||
57 | 57 | | |||
58 | KisResourceBundleManifest::KisResourceBundleManifest() | 58 | KisResourceBundleManifest::KisResourceBundleManifest() | ||
▲ Show 20 Lines • Show All 174 Lines • Show Last 20 Lines |