mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-03-15 07:29:15 +01:00
LP-29 osgearth integration : fixed unused parameter errors on osx
This commit is contained in:
parent
727924ea85
commit
3be5120d18
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user