1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-02-18 08:54:15 +01:00

REVONANO - Use Nano picture on the uploader page

This commit is contained in:
Stefan Karlsson 2014-12-21 11:49:42 +01:00 committed by Alessio Morale
parent 7877798015
commit 532b93ddbf
4 changed files with 7 additions and 1 deletions

View File

@ -96,9 +96,11 @@ void DeviceWidget::populate()
break;
case 0x0903:
case 0x0904:
case 0x0905:
devicePic.load(":/uploader/images/gcs-board-revo.png");
break;
case 0x0905:
devicePic.load(":/uploader/images/gcs-board-nano.png");
break;
default:
// Clear
devicePic.load("");

Binary file not shown.

After

Width:  |  Height:  |  Size: 353 KiB

View File

@ -78,6 +78,9 @@ void RunningDeviceWidget::populate()
case 0x0903:
devicePic.load(":/uploader/images/gcs-board-revo.png");
break;
case 0x0905:
devicePic.load(":/uploader/images/gcs-board-nano.png");
break;
default:
// Clear
devicePic.load("");

View File

@ -10,5 +10,6 @@
<file>images/error.svg</file>
<file>images/gcs-board-oplink.png</file>
<file>images/gcs-board-revo.png</file>
<file>images/gcs-board-nano.png</file>
</qresource>
</RCC>