1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-01-17 02:52:12 +01:00

gcscontrol: keep joystick image aspect ratio

OP-619
This commit is contained in:
Oleg Semyonov 2012-01-24 11:31:00 +02:00
parent 9006dd558f
commit da650cee60

View File

@ -149,7 +149,7 @@ void JoystickControl::paintEvent(QPaintEvent *event)
void JoystickControl::resizeEvent(QResizeEvent *event)
{
Q_UNUSED(event);
fitInView(m_background, Qt::IgnoreAspectRatio );
fitInView(m_background, Qt::KeepAspectRatio);
}
/**