1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-02-20 10:54:14 +01:00

Fixed a potential crash condition on linear dial gadget when source SVG is not found.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1251 ebee16cc-31ac-478f-84a7-5cbb03baadba
This commit is contained in:
edouard 2010-08-09 17:41:55 +00:00 committed by edouard
parent 61d0626bcf
commit 963a2a920e

View File

@ -326,6 +326,7 @@ void LineardialGadgetWidget::setDialFile(QString dfn)
l_scene->addItem(background);
fieldName = NULL;
fieldValue = NULL;
fieldSymbol = NULL;
index = NULL;
}
}