diff options
Diffstat (limited to 'src/qmmpui/commandlinemanager.cpp')
| -rw-r--r-- | src/qmmpui/commandlinemanager.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/qmmpui/commandlinemanager.cpp b/src/qmmpui/commandlinemanager.cpp index f5706dc2e..9bbace951 100644 --- a/src/qmmpui/commandlinemanager.cpp +++ b/src/qmmpui/commandlinemanager.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2008-2012 by Ilya Kotov * + * Copyright (C) 2008-2014 by Ilya Kotov * * forkotov02@hotmail.ru * * * * This program is free software; you can redistribute it and/or modify * @@ -44,7 +44,9 @@ void CommandLineManager::checkOptions() QDir pluginsDir (Qmmp::pluginsPath()); pluginsDir.cd("CommandLineOptions"); - foreach (QString fileName, pluginsDir.entryList(QDir::Files)) + QStringList filters; + filters << "*.dll" << "*.so"; + foreach (QString fileName, pluginsDir.entryList(filters, QDir::Files)) { QPluginLoader loader(pluginsDir.absoluteFilePath(fileName)); QObject *plugin = loader.instance(); |
