summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--noncore/unsupported/gsmtool/gsmtool.cpp6
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
@@ -287,13 +287,9 @@ 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) {
NewSMSStatusLabel->setText("Failed.");