1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-01-18 03:52:11 +01:00

Ground/GCSControl: weird problem with assert in windows environment, this hack seems to help it

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1608 ebee16cc-31ac-478f-84a7-5cbb03baadba
This commit is contained in:
sambas 2010-09-13 15:12:58 +00:00 committed by sambas
parent 3b5b129445
commit 41a23a8eeb

View File

@ -53,7 +53,8 @@ JoystickControl::JoystickControl(QWidget *parent) :
m_renderer = new QSvgRenderer();
Q_ASSERT( m_renderer->load(QString(":/gcscontrol/images/joystick.svg")) );
bool test = m_renderer->load(QString(":/gcscontrol/images/joystick.svg"));
Q_ASSERT( test );
m_background = new QGraphicsSvgItem();
m_background->setSharedRenderer(m_renderer);