mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-01-18 03:52:11 +01:00
Typo fix gsc renamed to gcs
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@777 ebee16cc-31ac-478f-84a7-5cbb03baadba
This commit is contained in:
parent
a54925b8eb
commit
ea3f3446e2
@ -42,13 +42,13 @@ MapGadgetWidget::MapGadgetWidget(QWidget *parent) : QWidget(parent)
|
||||
|
||||
follow_uav = false;
|
||||
|
||||
gcs_pixmap.load(QString::fromUtf8(":/map/images/gsc.png"));
|
||||
gcs_pixmap.load(QString::fromUtf8(":/map/images/gcs.png"));
|
||||
uav_pixmap.load(QString::fromUtf8(":/map/images/uav.png"));
|
||||
waypoint_pixmap.load(QString::fromUtf8(":/map/images/waypoint.png"));
|
||||
// waypoint_pixmap.load(QCoreApplication::applicationDirPath() + "/images/waypoint.png");
|
||||
|
||||
// test
|
||||
if (gcs_pixmap.isNull()) QMessageBox::warning(this, tr("Image Error"), tr("Missing ") + QString::fromUtf8(":/map/images/gsc.png"));
|
||||
if (gcs_pixmap.isNull()) QMessageBox::warning(this, tr("Image Error"), tr("Missing ") + QString::fromUtf8(":/map/images/gcs.png"));
|
||||
if (uav_pixmap.isNull()) QMessageBox::warning(this, tr("Image Error"), tr("Missing ") + QString::fromUtf8(":/map/images/uav.png"));
|
||||
if (waypoint_pixmap.isNull()) QMessageBox::warning(this, tr("Image Error"), tr("Missing ") + QString::fromUtf8(":/map/images/waypoint.png"));
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user