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());
|
||||
if(snarlInterface == NULL)
|
||||
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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue