mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
nice!
This commit is contained in:
parent
691a8b0b71
commit
2c8e7c638d
|
@ -102,9 +102,7 @@ void Text::selectionMouseMove(QPointF scenePos)
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
text = itr.fragment().text();
|
for(QChar c : itr.fragment().text())
|
||||||
|
|
||||||
for(QChar c : text)
|
|
||||||
{
|
{
|
||||||
if(pos >= cursor.selectionStart() && pos < cursor.selectionEnd())
|
if(pos >= cursor.selectionStart() && pos < cursor.selectionEnd())
|
||||||
selectedText += c;
|
selectedText += c;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user