diff --git a/src/core/PortalManager.cpp b/src/core/PortalManager.cpp index 7d95514..40d4a14 100644 --- a/src/core/PortalManager.cpp +++ b/src/core/PortalManager.cpp @@ -209,7 +209,7 @@ CPortalManager::CPortalManager() { std::string path = XDG_CONFIG_HOME ? std::string{XDG_CONFIG_HOME} + "/hypr/xdph.conf" : std::string{HOME} + "/.config/hypr/xdph.conf"; - m_sConfig.config = std::make_unique(path, Hyprlang::SConfigOptions{.allowMissingConfig = true}); + m_sConfig.config = std::make_unique(path.c_str(), Hyprlang::SConfigOptions{.allowMissingConfig = true}); m_sConfig.config->addConfigValue("general:toplevel_dynamic_bind", {0L});