From 7d968b2f1886541742f387adcf3bd333acd335c7 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: Sun, 21 Apr 2024 18:53:37 +0800 Subject: [PATCH] Update extrawindow.cpp Update extrawindow.cpp --- LunaHost/GUI/Plugin/extensions/extrawindow.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/LunaHost/GUI/Plugin/extensions/extrawindow.cpp b/LunaHost/GUI/Plugin/extensions/extrawindow.cpp index e4e894f..e5ed088 100644 --- a/LunaHost/GUI/Plugin/extensions/extrawindow.cpp +++ b/LunaHost/GUI/Plugin/extensions/extrawindow.cpp @@ -595,12 +595,10 @@ private: int definitionIndex; } dictionaryWindow; } extraWindow; -#include + bool ProcessSentence(std::wstring& sentence, SentenceInfo sentenceInfo) { - wprintf(L"enter %s\n",sentence.c_str()); if (sentenceInfo["current select"] && sentenceInfo["text number"] != 0) QMetaObject::invokeMethod(&extraWindow, [sentence = S(sentence)] { extraWindow.AddSentence(sentence); }); - wprintf(L"leave %s\n",sentence.c_str()); return false; -} +} \ No newline at end of file