diff options
author | Chris Xiong <chirs241097@gmail.com> | 2019-10-06 08:32:38 +0800 |
---|---|---|
committer | Chris Xiong <chirs241097@gmail.com> | 2019-10-06 08:32:38 +0800 |
commit | d5dfa9292a446d1a916c32d58c2c121d0d6cd07e (patch) | |
tree | 647d2416f1cf42d1e8776e3b769f19d28ec9192d /qmidiplayer-desktop | |
parent | 7b47080e9487c5a2119917708e66a29237c6920c (diff) | |
download | QMidiPlayer-d5dfa9292a446d1a916c32d58c2c121d0d6cd07e.tar.xz |
I love Windows.
New build instructions using cmake.
Fixed Windows version of qmpPluginManager::scanPlugins.
Fixed wrong linking order (?).
Diffstat (limited to 'qmidiplayer-desktop')
-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 1c83524..875a689 100644 --- a/qmidiplayer-desktop/qmpplugin.cpp +++ b/qmidiplayer-desktop/qmpplugin.cpp @@ -20,10 +20,10 @@ std::string wstr2str(std::wstring s) std::wstring_convert<std::codecvt_utf8<wchar_t>,wchar_t> wsc; return wsc.to_bytes(s); } -void qmpPluginManager::scanPlugins() +void qmpPluginManager::scanPlugins(const std::vector<std::string> &pp) { QDirIterator *dir; - std::vector<std::wstring> cpluginpaths; + std::vector<std::wstring> cpluginpaths(pp); dir=new QDirIterator(QCoreApplication::applicationDirPath()+"/plugins/"); while(dir->hasNext()) { |