mirror of
https://github.com/HIllya51/LunaHook.git
synced 2024-11-27 15:54:03 +08:00
Update extrawindow.cpp
Update extrawindow.cpp
This commit is contained in:
parent
6e75af65af
commit
7d968b2f18
@ -595,12 +595,10 @@ private:
|
|||||||
int definitionIndex;
|
int definitionIndex;
|
||||||
} dictionaryWindow;
|
} dictionaryWindow;
|
||||||
} extraWindow;
|
} extraWindow;
|
||||||
#include<stdio.h>
|
|
||||||
bool ProcessSentence(std::wstring& sentence, SentenceInfo sentenceInfo)
|
bool ProcessSentence(std::wstring& sentence, SentenceInfo sentenceInfo)
|
||||||
{
|
{
|
||||||
wprintf(L"enter %s\n",sentence.c_str());
|
|
||||||
if (sentenceInfo["current select"] && sentenceInfo["text number"] != 0)
|
if (sentenceInfo["current select"] && sentenceInfo["text number"] != 0)
|
||||||
QMetaObject::invokeMethod(&extraWindow, [sentence = S(sentence)] { extraWindow.AddSentence(sentence); });
|
QMetaObject::invokeMethod(&extraWindow, [sentence = S(sentence)] { extraWindow.AddSentence(sentence); });
|
||||||
wprintf(L"leave %s\n",sentence.c_str());
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user