diff options
author | Saturneric <[email protected]> | 2022-03-19 06:09:55 +0000 |
---|---|---|
committer | Saturneric <[email protected]> | 2022-03-19 06:09:55 +0000 |
commit | dad03e9ccc57da0a04d058ec418ce0068ce3841d (patch) | |
tree | e3d6bec71f3c070139ef5dfa7cca0cf70acb4dd1 /src/ui/widgets/KeyList.cpp | |
parent | <fix>(ui): Fix the problem that the file cannot be signed (diff) | |
download | GpgFrontend-dad03e9ccc57da0a04d058ec418ce0068ce3841d.tar.gz GpgFrontend-dad03e9ccc57da0a04d058ec418ce0068ce3841d.zip |
<fix>(core, ui): Fix path double-byte encoding problem under Windows
Diffstat (limited to 'src/ui/widgets/KeyList.cpp')
-rw-r--r-- | src/ui/widgets/KeyList.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/widgets/KeyList.cpp b/src/ui/widgets/KeyList.cpp index 75558edc..60cfbc84 100644 --- a/src/ui/widgets/KeyList.cpp +++ b/src/ui/widgets/KeyList.cpp @@ -58,7 +58,7 @@ void KeyList::init() { auto db_path = GpgFrontend::GlobalSettingStation::GetInstance() .GetStandaloneDatabaseDir(); GpgContext::CreateInstance( - _m_key_list_id, std::make_unique<GpgContext>(true, db_path.string(), true, + _m_key_list_id, std::make_unique<GpgContext>(true, db_path.u8string(), true, gpg_path.string())); #else new_default_settings_channel(m_key_list_id_); |