Fix Qt5.3 build

This commit is contained in:
lupoDharkael
2018-01-23 19:03:39 +01:00
parent ae9b8c062c
commit 6e9a9bc69a

View File

@@ -70,7 +70,7 @@ void ButtonListView::updateActiveButtons(QListWidgetItem *item) {
m_listButtons.append(bType);
std::sort(m_listButtons.begin(), m_listButtons.end());
} else {
m_listButtons.removeOne(bType);
m_listButtons.remove(m_listButtons.indexOf(bType));
}
ConfigHandler().setButtons(m_listButtons);
}