History

small code changes for qt5 compatibility

Stephen Birarda committed 13 years ago

Commit f27eb5e1 parent 9f2b2d04 files · +22 −18Browse files

Showing the changes to interface/src/ui/ChatEntry.cpp (1 of 4 files). Show all

Unified · Split

interface/src/ui/ChatEntry.cpp+1−1
@@ -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;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t