- Timestamp:
- 06/10/11 14:48:15 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/gui/MainWindow.cc
r10962 r10981 305 305 void MainWindow::on_fChatSend_clicked() 306 306 { 307 if (Dim::SendCommand("CHAT/MSG", fChatMessage->displayText().constData())) 307 const string msg = fChatMessage->text().toStdString(); 308 if (Dim::SendCommand("CHAT/MSG", msg.c_str(), msg.length()+1)) 308 309 fChatMessage->clear(); 309 310 }
Note:
See TracChangeset
for help on using the changeset viewer.