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

LP-5 - Uncrustification

This commit is contained in:
Alessio Morale 2015-07-15 22:53:48 +02:00
parent 81ea0b9232
commit 5e9a034e6e
7 changed files with 14 additions and 12 deletions

View File

@ -301,6 +301,7 @@ inline QStringList getPluginPaths()
QStringList rc; QStringList rc;
QString pluginPath = QApplication::applicationDirPath(); QString pluginPath = QApplication::applicationDirPath();
pluginPath += QLatin1Char('/'); pluginPath += QLatin1Char('/');
pluginPath += QLatin1String(PLUGIN_REL_PATH); pluginPath += QLatin1String(PLUGIN_REL_PATH);
rc.push_back(pluginPath); rc.push_back(pluginPath);

View File

@ -41,6 +41,7 @@ namespace Utils {
QString GetDataPath() QString GetDataPath()
{ {
QString dataPath = QApplication::applicationDirPath(); QString dataPath = QApplication::applicationDirPath();
dataPath += QLatin1Char('/'); dataPath += QLatin1Char('/');
dataPath += QLatin1String(DATA_REL_PATH); dataPath += QLatin1String(DATA_REL_PATH);
dataPath += QLatin1Char('/'); dataPath += QLatin1Char('/');