comparison widgets/ListInputDialog.cpp @ 946:36cddc3de023 alignment_view

Merge from default branch
author Chris Cannam
date Mon, 20 Apr 2015 09:19:52 +0100
parents 4a578a360011
children a34a2a25907c
comparison
equal deleted inserted replaced
897:499b637f2a26 946:36cddc3de023
65 QString 65 QString
66 ListInputDialog::getCurrentString() const 66 ListInputDialog::getCurrentString() const
67 { 67 {
68 for (size_t i = 0; i < m_radioButtons.size(); ++i) { 68 for (size_t i = 0; i < m_radioButtons.size(); ++i) {
69 if (m_radioButtons[i]->isChecked()) { 69 if (m_radioButtons[i]->isChecked()) {
70 return m_strings[i]; 70 return m_strings[int(i)];
71 } 71 }
72 } 72 }
73 return ""; 73 return "";
74 } 74 }
75 75