aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/qmmp/qmmp.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/qmmp/qmmp.cpp b/src/qmmp/qmmp.cpp
index ab682e286..fcf8486b4 100644
--- a/src/qmmp/qmmp.cpp
+++ b/src/qmmp/qmmp.cpp
@@ -94,6 +94,9 @@ void Qmmp::setProxy (const QUrl &proxy)
const QString Qmmp::pluginsPath()
{
+ const char *path = qgetenv("QMMP_PLUGINS");
+ if (path)
+ return path;
#ifdef QMMP_INSTALL_PREFIX
QDir dir(QMMP_INSTALL_PREFIX"/"LIB_DIR"/qmmp");
//qDebug(QMMP_INSTALL_PREFIX"/"LIB_DIR"/qmmp");