From 0349a4a28e58ce2907bc1451366c6a3221b4b1a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=81=8D=E5=85=AE=E6=83=9A=E5=85=AE?= <101191390+HIllya51@users.noreply.github.com> Date: Fri, 29 Mar 2024 20:50:47 +0800 Subject: [PATCH] oh.. --- LunaHost/GUI/LunaHost.cpp | 1 - LunaHost/GUI/pluginmanager.cpp | 4 +--- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/LunaHost/GUI/LunaHost.cpp b/LunaHost/GUI/LunaHost.cpp index 3bfcb6b..8ef071c 100644 --- a/LunaHost/GUI/LunaHost.cpp +++ b/LunaHost/GUI/LunaHost.cpp @@ -475,7 +475,6 @@ void HooksearchText::call(std::setpids){ SearchParam sp = {}; sp.codepage=cp; wcsncpy_s(sp.text, edittext->text().c_str(), PATTERN_SIZE - 1); - wprintf(sp.text); for(auto pid:pids) Host::FindHooks(pid, sp); }; diff --git a/LunaHost/GUI/pluginmanager.cpp b/LunaHost/GUI/pluginmanager.cpp index 956d00d..d13d554 100644 --- a/LunaHost/GUI/pluginmanager.cpp +++ b/LunaHost/GUI/pluginmanager.cpp @@ -129,7 +129,7 @@ void Pluginmanager::loadqtdlls(std::vector&collectQtplugs){ SetEnvironmentVariableW(L"PATH",envs.c_str()); HMODULE* modules; - if(std::true_type::value){ + if(std::false_type::value){ auto vmodules=QtLoadLibrarys(collectQtplugs); if(vmodules.empty())return; modules=vmodules.data(); @@ -151,7 +151,6 @@ void Pluginmanager::loadqtdlls(std::vector&collectQtplugs){ } for(int i=0;i