mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-06 21:58:57 -04:00
Fixed crash in IdEditDialog::updateId when no avater is set.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7886 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
b7f4e292f1
commit
4cab5dc743
1 changed files with 12 additions and 12 deletions
|
@ -510,7 +510,7 @@ void IdEditDialog::updateId()
|
|||
|
||||
const QPixmap *pixmap = ui.avatarLabel->pixmap();
|
||||
|
||||
if (!pixmap->isNull())
|
||||
if (pixmap && !pixmap->isNull())
|
||||
{
|
||||
QByteArray ba;
|
||||
QBuffer buffer(&ba);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue