Skip to content

Commit 6ef2abf

Browse files
authored
adopt fcitx5 standardpaths (#256)
1 parent 5347f1a commit 6ef2abf

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

fcitx5

Submodule fcitx5 updated 51 files

webpanel/webpanel.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ void WebPanel::setConfig(const RawConfig &config) {
286286
if (!themeName.empty()) {
287287
RawConfig raw;
288288
// Only override current theme when user selects a theme file.
289-
readAsIni(raw, StandardPath::Type::PkgData, themePath(themeName));
289+
readAsIni(raw, StandardPathsType::PkgData, themePath(themeName));
290290
config_.load(raw, true);
291291
}
292292
safeSaveAsIni(config_, ConfPath);
@@ -302,7 +302,7 @@ void WebPanel::setSubConfig(const std::string &path, const RawConfig &config) {
302302
for (const auto &key : removedKeys) {
303303
raw.remove(key);
304304
}
305-
safeSaveAsIni(raw, StandardPath::Type::PkgData, themePath(themeName));
305+
safeSaveAsIni(raw, StandardPathsType::PkgData, themePath(themeName));
306306
}
307307
}
308308

0 commit comments

Comments
 (0)