diff options
Diffstat (limited to 'qmidiplayer-desktop/qmpplugin.cpp')
-rw-r--r-- | qmidiplayer-desktop/qmpplugin.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/qmidiplayer-desktop/qmpplugin.cpp b/qmidiplayer-desktop/qmpplugin.cpp index 2339625..1c83524 100644 --- a/qmidiplayer-desktop/qmpplugin.cpp +++ b/qmidiplayer-desktop/qmpplugin.cpp @@ -49,10 +49,10 @@ void qmpPluginManager::scanPlugins() } } #else -void qmpPluginManager::scanPlugins() +void qmpPluginManager::scanPlugins(const std::vector<std::string> &pp) { QDirIterator *dir; - std::vector<std::string> cpluginpaths; + std::vector<std::string> cpluginpaths(pp); #ifdef QMP_BUILD_UNIX_PACKAGE dir=new QDirIterator("/usr/lib/qmidiplayer/"); while(dir->hasNext()) |