comparison widgets/ListInputDialog.cpp @ 922:26da827e8fb5 tonioni

Merge from cxx11 branch
author Chris Cannam
date Mon, 23 Mar 2015 11:26:28 +0000
parents 4a578a360011
children a34a2a25907c
comparison
equal deleted inserted replaced
921:4968bbaf1ed8 922:26da827e8fb5
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