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:
parent
3b5b129445
commit
41a23a8eeb
@ -53,7 +53,8 @@ JoystickControl::JoystickControl(QWidget *parent) :
|
|||||||
|
|
||||||
|
|
||||||
m_renderer = new QSvgRenderer();
|
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 = new QGraphicsSvgItem();
|
||||||
m_background->setSharedRenderer(m_renderer);
|
m_background->setSharedRenderer(m_renderer);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user