mirror of
https://github.com/status-im/snorenotify.git
synced 2025-02-18 19:26:36 +00:00
fixed unregister with snarl
This commit is contained in:
parent
29f9f677f8
commit
3d5ed7f8ef
@ -82,7 +82,9 @@ void Snarl_Backend::unregisterApplication(Application *application){
|
|||||||
SnarlInterface *snarlInterface = _applications.take(application->name());
|
SnarlInterface *snarlInterface = _applications.take(application->name());
|
||||||
if(snarlInterface == NULL)
|
if(snarlInterface == NULL)
|
||||||
return;
|
return;
|
||||||
snarlInterface->Unregister(application->name().toUtf8().constData());
|
QString appName = application->name();
|
||||||
|
appName = appName.replace(" ","_");//app sig must not contain spaces
|
||||||
|
snarlInterface->Unregister(appName.toUtf8().constData());
|
||||||
delete snarlInterface;
|
delete snarlInterface;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user