Mercurial > hg > svgui
comparison widgets/ListInputDialog.cpp @ 249:e6d0b097d102 sv1-1.0rc1
* more compile warning fixes
author | Chris Cannam |
---|---|
date | Mon, 30 Apr 2007 14:06:45 +0000 |
parents | 512ead25e842 |
children | 4edaff85875d |
comparison
equal
deleted
inserted
replaced
248:28c8e8e3c537 | 249:e6d0b097d102 |
---|---|
75 } | 75 } |
76 | 76 |
77 QString | 77 QString |
78 ListInputDialog::getCurrentString() const | 78 ListInputDialog::getCurrentString() const |
79 { | 79 { |
80 for (int i = 0; i < m_radioButtons.size(); ++i) { | 80 for (size_t i = 0; i < m_radioButtons.size(); ++i) { |
81 if (m_radioButtons[i]->isChecked()) { | 81 if (m_radioButtons[i]->isChecked()) { |
82 return m_strings[i]; | 82 return m_strings[i]; |
83 } | 83 } |
84 } | 84 } |
85 return ""; | 85 return ""; |