mirror of
https://github.com/barry-ran/QtScrcpy.git
synced 2025-04-20 19:44:59 +00:00
fix:incorrect comment
This commit is contained in:
parent
748ba63a64
commit
39eea20b6c
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ void ControlEvent::setKeycodeEventData(AndroidKeyeventAction action, AndroidKeyc
|
|||
|
||||
void ControlEvent::setTextEventData(QString text)
|
||||
{
|
||||
// write length (2 byte) + date (non nul-terminated)
|
||||
// write length (2 byte) + string (non nul-terminated)
|
||||
if (TEXT_MAX_CHARACTER_LENGTH < text.length()) {
|
||||
// injecting a text takes time, so limit the text length
|
||||
text = text.left(TEXT_MAX_CHARACTER_LENGTH);
|
||||
|
|
Loading…
Add table
Reference in a new issue