Diffstat (limited to 'noncore/unsupported/gsmtool/gsmtool.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/unsupported/gsmtool/gsmtool.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/noncore/unsupported/gsmtool/gsmtool.cpp b/noncore/unsupported/gsmtool/gsmtool.cpp index 6fea596..e6122ad 100644 --- a/noncore/unsupported/gsmtool/gsmtool.cpp +++ b/noncore/unsupported/gsmtool/gsmtool.cpp @@ -288,11 +288,7 @@ void GSMTool::doNewSMSSendButton() SMSSubmitMessage m(msgtext, dest); try { - Ref<SMSMessage> ackPDU; m.setAt(new GsmAt(*me)); - m.send(ackPDU); + m.send(); - // print acknowledgement if available - if (! ackPDU.isnull()) - cout << ackPDU->toString(); NewSMSStatusLabel->setText("Message sent."); } catch (GsmException &ge) { |