1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-02-20 10:54:14 +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:
cwabbott 2011-01-22 14:16:45 +00:00 committed by cwabbott
parent 7527811a25
commit dbcae23e07
2 changed files with 3 additions and 1 deletions

View File

@ -49,6 +49,8 @@ equals(TEST, 1) {
DEFINES += WITH_TESTS
}
win32:QMAKE_COPY_DIR = cp -r -f
GCS_SOURCE_TREE = $$PWD
isEmpty(GCS_BUILD_TREE) {
sub_dir = $$_PRO_FILE_PWD_

View File

@ -1702,7 +1702,7 @@ void OPMapGadgetWidget::onSetHomeAct_triggered()
// calculate the magnetic model
double X, Y, Z;
QDateTime dt = QDateTime::currentDateTimeUtc();
QDateTime dt = QDateTime::currentDateTime().toUTC();
Utils::WorldMagModel *wmm = new Utils::WorldMagModel();
if (wmm)