mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-02-21 11:54:15 +01:00
Ground: fixed compile error in opmap plugin, and fixed problem with directory copy command.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2519 ebee16cc-31ac-478f-84a7-5cbb03baadba
This commit is contained in:
parent
7527811a25
commit
dbcae23e07
@ -49,6 +49,8 @@ equals(TEST, 1) {
|
|||||||
DEFINES += WITH_TESTS
|
DEFINES += WITH_TESTS
|
||||||
}
|
}
|
||||||
|
|
||||||
|
win32:QMAKE_COPY_DIR = cp -r -f
|
||||||
|
|
||||||
GCS_SOURCE_TREE = $$PWD
|
GCS_SOURCE_TREE = $$PWD
|
||||||
isEmpty(GCS_BUILD_TREE) {
|
isEmpty(GCS_BUILD_TREE) {
|
||||||
sub_dir = $$_PRO_FILE_PWD_
|
sub_dir = $$_PRO_FILE_PWD_
|
||||||
|
@ -1702,7 +1702,7 @@ void OPMapGadgetWidget::onSetHomeAct_triggered()
|
|||||||
// calculate the magnetic model
|
// calculate the magnetic model
|
||||||
|
|
||||||
double X, Y, Z;
|
double X, Y, Z;
|
||||||
QDateTime dt = QDateTime::currentDateTimeUtc();
|
QDateTime dt = QDateTime::currentDateTime().toUTC();
|
||||||
|
|
||||||
Utils::WorldMagModel *wmm = new Utils::WorldMagModel();
|
Utils::WorldMagModel *wmm = new Utils::WorldMagModel();
|
||||||
if (wmm)
|
if (wmm)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user