1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

Fixed bug in previous commit

This commit is contained in:
Kevin Flynn 2014-06-27 07:19:42 -07:00
parent 5262096b04
commit 9ec2cb1d84

View File

@ -40,7 +40,7 @@ void AddFriendForm::onSendTriggered()
QString id = toxId.text(), msg = message.toPlainText(); QString id = toxId.text(), msg = message.toPlainText();
if (id.isEmpty()) if (id.isEmpty())
return; return;
if (message.isEmpty()) if (msg.isEmpty())
msg = "Tox me maybe?"; msg = "Tox me maybe?";
emit friendRequested(id, msg); emit friendRequested(id, msg);