From 8b12a18f0de90afe9b4e36494303b3a4162626f0 Mon Sep 17 00:00:00 2001 From: Andrew Belt Date: Fri, 12 Apr 2024 15:23:33 -0400 Subject: [PATCH] Add logging to system::openBrowser() and openDirectory(). --- src/system.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/system.cpp b/src/system.cpp index a32b21f2..32fdfdd7 100644 --- a/src/system.cpp +++ b/src/system.cpp @@ -41,6 +41,7 @@ #include #include +#include /* @@ -892,6 +893,8 @@ void openBrowser(const std::string& url) { if (url.empty()) return; + INFO("Opening browser URL %s", url.c_str()); + std::string urlL = url; std::thread t([=] { #if defined ARCH_LIN @@ -914,6 +917,8 @@ void openDirectory(const std::string& path) { if (path.empty()) return; + INFO("Opening directory %s", path.c_str()); + std::string pathL = path; std::thread t([=] { #if defined ARCH_LIN