aboutsummaryrefslogtreecommitdiff
path: root/include/cru/ui/ThemeResourceDictionary.h
diff options
context:
space:
mode:
authorYuqian Yang <crupest@crupest.life>2025-10-17 14:33:16 +0800
committerYuqian Yang <crupest@crupest.life>2025-10-17 14:33:16 +0800
commit9f419314b646bf57dfc3fcbb509b3be2c974e3fd (patch)
tree6d40efce7beade635b6480a9b4e7db2f114c2145 /include/cru/ui/ThemeResourceDictionary.h
parent5c5c496b605886b286d1b99e0f9e28ec02117ad5 (diff)
downloadcru-9f419314b646bf57dfc3fcbb509b3be2c974e3fd.tar.gz
cru-9f419314b646bf57dfc3fcbb509b3be2c974e3fd.tar.bz2
cru-9f419314b646bf57dfc3fcbb509b3be2c974e3fd.zip
Remove String on Linux.
Diffstat (limited to 'include/cru/ui/ThemeResourceDictionary.h')
-rw-r--r--include/cru/ui/ThemeResourceDictionary.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/include/cru/ui/ThemeResourceDictionary.h b/include/cru/ui/ThemeResourceDictionary.h
index 90cbe520..e7463b12 100644
--- a/include/cru/ui/ThemeResourceDictionary.h
+++ b/include/cru/ui/ThemeResourceDictionary.h
@@ -28,11 +28,7 @@ class CRU_UI_API ThemeResourceDictionary : public Object {
public:
static std::unique_ptr<ThemeResourceDictionary> FromFile(
- const String& file_path);
- static std::unique_ptr<ThemeResourceDictionary> FromFile(
- std::filesystem::path file_path) {
- return FromFile(String::FromStdPath(file_path));
- }
+ std::filesystem::path file_path);
explicit ThemeResourceDictionary(xml::XmlElementNode* xml_root,
bool clone = true);