Fixed another crash in IdEditDialog::createId when avatar is not set.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7887 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
thunder2 2015-01-29 17:51:25 +00:00
parent 4cab5dc743
commit 7cfd50f860

View File

@ -474,7 +474,7 @@ void IdEditDialog::createId()
const QPixmap *pixmap = ui.avatarLabel->pixmap();
if (!pixmap->isNull())
if (pixmap && !pixmap->isNull())
{
QByteArray ba;
QBuffer buffer(&ba);