From 6e9a9bc69ae5961c66b02c7dec6ccc84a9379bba Mon Sep 17 00:00:00 2001 From: lupoDharkael Date: Tue, 23 Jan 2018 19:03:39 +0100 Subject: [PATCH] Fix Qt5.3 build --- src/config/buttonlistview.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config/buttonlistview.cpp b/src/config/buttonlistview.cpp index 2ebd79a6..c9d4b447 100644 --- a/src/config/buttonlistview.cpp +++ b/src/config/buttonlistview.cpp @@ -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); }