1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-03-16 08:29:15 +01:00

LP-29 osgearth integration : fixed unused parameter errors on osx

This commit is contained in:
Philippe Renon 2015-07-20 00:00:32 +02:00
parent 727924ea85
commit 3be5120d18

View File

@ -25,6 +25,7 @@ QString GCSDirs::libraryPath(QString provider)
#ifdef Q_OS_MACX
// TODO not correct...
libPath += QLatin1String("/Plugins");
Q_UNUSED(provider);
#else
// GCS_LIBRARY_BASENAME is a compiler define set by qmake
libPath += QLatin1Char('/') + QLatin1String(LIB_REL_PATH);
@ -40,6 +41,7 @@ QString GCSDirs::pluginPath(QString provider)
#ifdef Q_OS_MACX
// TODO not correct...
pluginPath += QLatin1String("/Plugins");
Q_UNUSED(provider);
#else
// GCS_LIBRARY_BASENAME is a compiler define set by qmake
pluginPath += QLatin1Char('/') + QLatin1String(LIB_REL_PATH);
@ -55,6 +57,7 @@ QString GCSDirs::sharePath(QString provider)
#ifdef Q_OS_MACX
sharePath += QLatin1String("/Resources");
Q_UNUSED(provider);
#else
sharePath += QLatin1String("/share/openpilotgcs");
sharePath += QLatin1Char('/') + provider;