Showing the changes to interface/src/ui/ChatEntry.cpp (1 of 4 files). Show all
Unified · Split
| @@ -66,7 +66,7 @@ bool ChatEntry::keyPressEvent(QKeyEvent* event) { · 65 unmodified lines | |||
| 66 | return true; | 66 | return true; |
| 67 | } | 67 | } |
| 68 | if (_contents.size() < MAX_CONTENT_LENGTH) { | 68 | if (_contents.size() < MAX_CONTENT_LENGTH) { |
| 69 | _contents.insert(_cursorPos, 1, text.at(0).toAscii()); | 69 | _contents.insert(_cursorPos, 1, text.at(0).toLatin1()); |
| 70 | _cursorPos++; | 70 | _cursorPos++; |
| 71 | } | 71 | } |
| 72 | return true; | 72 | return true; |