From a2c37e2d6e871acca8ced6785b118088dec98a07 Mon Sep 17 00:00:00 2001 From: vaxerski Date: Wed, 3 Jan 2024 14:10:31 +0100 Subject: [PATCH] core: fix invalid type passed to CConfig --- src/core/PortalManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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});