comparison widgets/ListInputDialog.cpp @ 908:4a578a360011 cxx11

More type fixes
author Chris Cannam
date Tue, 10 Mar 2015 13:22:10 +0000
parents d632a1e87018
children a34a2a25907c
comparison
equal deleted inserted replaced
907:28d05ae8741c 908:4a578a360011
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