Don't archive non-existant protocol icons
This commit is contained in:
parent
e05d14dc95
commit
40eaac550f
|
@ -47,6 +47,7 @@ ProtocolLooper::~ProtocolLooper()
|
|||
BMessage* msg = new BMessage(APP_ACCOUNT_DISABLED);
|
||||
BBitmap* icon = fProtocol->Icon();
|
||||
|
||||
if (icon != NULL)
|
||||
icon->Archive(msg);
|
||||
msg->AddString("name", fProtocol->GetName());
|
||||
fProtocol->MessengerInterface()->SendMessage(msg);
|
||||
|
|
Ŝarĝante…
Reference in New Issue