summaryrefslogtreecommitdiff
path: root/noncore/unsupported
Unidiff
Diffstat (limited to 'noncore/unsupported') (more/less context) (ignore 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()
287 287
288 SMSSubmitMessage m(msgtext, dest); 288 SMSSubmitMessage m(msgtext, dest);
289 try { 289 try {
290 Ref<SMSMessage> ackPDU;
291 m.setAt(new GsmAt(*me)); 290 m.setAt(new GsmAt(*me));
292 m.send(ackPDU); 291 m.send();
293 292
294 // print acknowledgement if available
295 if (! ackPDU.isnull())
296 cout << ackPDU->toString();
297 NewSMSStatusLabel->setText("Message sent."); 293 NewSMSStatusLabel->setText("Message sent.");
298 } catch (GsmException &ge) { 294 } catch (GsmException &ge) {
299 NewSMSStatusLabel->setText("Failed."); 295 NewSMSStatusLabel->setText("Failed.");