diff options
Diffstat (limited to 'qmidiplayer-desktop/qmpcustomizewindow.cpp')
-rw-r--r-- | qmidiplayer-desktop/qmpcustomizewindow.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/qmidiplayer-desktop/qmpcustomizewindow.cpp b/qmidiplayer-desktop/qmpcustomizewindow.cpp index b7017b7..a2ff19c 100644 --- a/qmidiplayer-desktop/qmpcustomizewindow.cpp +++ b/qmidiplayer-desktop/qmpcustomizewindow.cpp @@ -44,6 +44,7 @@ void qmpCustomizeWindow::launch(int w) std::set<std::string> s; for(auto i=v.begin();i!=v.end();++i) { + if(m.find(*i)==m.end())continue; s.insert(*i); QListWidgetItem* it=new QListWidgetItem( m[*i].icon(), |