mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
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:
parent
4cab5dc743
commit
7cfd50f860
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user