aboutsummaryrefslogtreecommitdiff
path: root/src/qmmpui/general.cpp
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2009-03-19 18:15:01 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2009-03-19 18:15:01 +0000
commit025866f86ad797ee879fad4a6d5530b1aeda3f90 (patch)
tree33288922d7edbd8f8a9cd3bed0f43c2a14ecb675 /src/qmmpui/general.cpp
parent0eb8b3e53cffff43a749cfb6b00f75ce442e0d86 (diff)
downloadqmmp-025866f86ad797ee879fad4a6d5530b1aeda3f90.tar.gz
qmmp-025866f86ad797ee879fad4a6d5530b1aeda3f90.tar.bz2
qmmp-025866f86ad797ee879fad4a6d5530b1aeda3f90.zip
some api fixes
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@862 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/qmmpui/general.cpp')
-rw-r--r--src/qmmpui/general.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/qmmpui/general.cpp b/src/qmmpui/general.cpp
index 9f47ddc1f..7bf9514d7 100644
--- a/src/qmmpui/general.cpp
+++ b/src/qmmpui/general.cpp
@@ -36,10 +36,8 @@ static void checkFactories()
{
files.clear();
factories = new QList<GeneralFactory *>;
-
- QDir pluginsDir (qApp->applicationDirPath());
- pluginsDir.cdUp();
- pluginsDir.cd("./"LIB_DIR"/qmmp/General");
+ QDir pluginsDir (Qmmp::pluginsPath());
+ pluginsDir.cd("General");
foreach (QString fileName, pluginsDir.entryList(QDir::Files))
{
QPluginLoader loader(pluginsDir.absoluteFilePath(fileName));