1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00
This commit is contained in:
krepa098 2015-01-19 10:08:43 +01:00
parent 691a8b0b71
commit 2c8e7c638d

View File

@ -102,9 +102,7 @@ void Text::selectionMouseMove(QPointF scenePos)
}
else
{
text = itr.fragment().text();
for(QChar c : text)
for(QChar c : itr.fragment().text())
{
if(pos >= cursor.selectionStart() && pos < cursor.selectionEnd())
selectedText += c;