Commit 52d541ac authored by Rohit Yadav's avatar Rohit Yadav

EffectsEngine: Search for frei0r plugins in the application folder.

This should work out for both Mac and Windows.
parent c089f9ea
......@@ -26,6 +26,7 @@
#include "EffectInstance.h"
#include "Types.h"
#include <QApplication>
#include <QDesktopServices>
#include <QDir>
#include <QProcess>
......@@ -126,6 +127,9 @@ EffectsEngine::loadEffects()
{
QStringList pathList;
/* Search in the application folder */
pathList << qApp->applicationDirPath() + "/effects/";
#if defined( Q_OS_UNIX )
const QProcessEnvironment &env = QProcessEnvironment::systemEnvironment();
if ( env.contains( "FREI0R_PATH" ) == true )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment