mirror of
https://github.com/HIllya51/LunaHook.git
synced 2024-11-23 13:55:36 +08:00
Update extrawindow.cpp
Update extrawindow.cpp
This commit is contained in:
parent
6e75af65af
commit
7d968b2f18
@ -595,12 +595,10 @@ private:
|
||||
int definitionIndex;
|
||||
} dictionaryWindow;
|
||||
} extraWindow;
|
||||
#include<stdio.h>
|
||||
|
||||
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;
|
||||
}
|
Loading…
Reference in New Issue
Block a user