mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-17 03:18:07 +00:00
Add a kill method for qdbus.
This commit is contained in:
parent
b3a3158c95
commit
afc830e8ef
2 changed files with 5 additions and 0 deletions
|
|
@ -126,3 +126,7 @@ void SingleApplicationPrivate::handleMessageReceived(quint32 instanceId, QByteAr
|
|||
Q_Q(SingleApplication);
|
||||
emit q->receivedMessage(instanceId, message);
|
||||
}
|
||||
|
||||
void SingleApplicationPrivate::kill() {
|
||||
terminate(0);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -54,6 +54,7 @@ public:
|
|||
// Explicit public slot. Cannot be private, must be exported as a method via D-Bus.
|
||||
public slots:
|
||||
void handleMessageReceived(quint32 instanceId, QByteArray message);
|
||||
void kill();
|
||||
|
||||
private:
|
||||
Q_DECLARE_PUBLIC(SingleApplication)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue