aboutsummaryrefslogtreecommitdiff
path: root/src/configcontainer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/configcontainer.cpp')
-rw-r--r--src/configcontainer.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/configcontainer.cpp b/src/configcontainer.cpp
index 3b460d8e..0c2a6c42 100644
--- a/src/configcontainer.cpp
+++ b/src/configcontainer.cpp
@@ -1,5 +1,3 @@
-#define ENABLE_IMPLICIT_FILEPATH_CONVERSIONS
-
#include "configcontainer.h"
#include <algorithm>
@@ -422,7 +420,7 @@ std::string ConfigContainer::get_configvalue(const std::string& key) const
const auto& entry = it->second;
std::string value = entry.value();
if (entry.type() == ConfigDataType::PATH) {
- value = utils::resolve_tilde(value);
+ value = utils::resolve_tilde(Filepath::from_locale_string(value)).to_locale_string();
}
return value;
}