diff --git a/ground/src/plugins/gcscontrol/joystickcontrol.cpp b/ground/src/plugins/gcscontrol/joystickcontrol.cpp index 2dfdb7cfc..6e9d1a783 100644 --- a/ground/src/plugins/gcscontrol/joystickcontrol.cpp +++ b/ground/src/plugins/gcscontrol/joystickcontrol.cpp @@ -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);