summaryrefslogtreecommitdiffstats
path: root/telephony/telephony.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'telephony/telephony.cpp')
-rw-r--r--telephony/telephony.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/telephony/telephony.cpp b/telephony/telephony.cpp
index 7f6a571..08b80b1 100644
--- a/telephony/telephony.cpp
+++ b/telephony/telephony.cpp
@@ -41,7 +41,7 @@ void Telephony::dial(QString number)
TelephonyMessage *tmsg = new TelephonyMessage();
tmsg->createRequest("dial", number);
m_mloop->sendMessage(tmsg);
- tmsg->deleteLater();
+ delete tmsg;
}
void Telephony::answer()
@@ -49,7 +49,7 @@ void Telephony::answer()
TelephonyMessage *tmsg = new TelephonyMessage();
tmsg->createRequest("answer");
m_mloop->sendMessage(tmsg);
- tmsg->deleteLater();
+ delete tmsg;
}
void Telephony::hangup()
@@ -57,7 +57,7 @@ void Telephony::hangup()
TelephonyMessage *tmsg = new TelephonyMessage();
tmsg->createRequest("hangup");
m_mloop->sendMessage(tmsg);
- tmsg->deleteLater();
+ delete tmsg;
}
void Telephony::onConnected()
@@ -74,7 +74,7 @@ void Telephony::onConnected()
tmsg = new TelephonyMessage();
tmsg->createRequest("subscribe", eventIterator.next());
m_mloop->sendMessage(tmsg);
- tmsg->deleteLater();
+ delete tmsg;
}
setConnected(true);