summaryrefslogtreecommitdiffstats
path: root/src/gui/userprofileform.cpp
diff options
context:
space:
mode:
authorMichal Kubecek <mkubecek@suse.cz>2015-06-12 10:01:05 +0200
committerMichal Kubecek <mkubecek@suse.cz>2015-06-12 10:01:05 +0200
commit9f1062b092a2ded07b2d75bfafb049be9b705865 (patch)
treec6bf08f82c7f4e2756e84d2655d250b3b213c846 /src/gui/userprofileform.cpp
parentb3423050228ce730ca281d0a195597b69645c869 (diff)
downloadtwinkle-9f1062b092a2ded07b2d75bfafb049be9b705865.tar
twinkle-9f1062b092a2ded07b2d75bfafb049be9b705865.tar.gz
twinkle-9f1062b092a2ded07b2d75bfafb049be9b705865.tar.lz
twinkle-9f1062b092a2ded07b2d75bfafb049be9b705865.tar.xz
twinkle-9f1062b092a2ded07b2d75bfafb049be9b705865.zip
fix some compiler warnings
Diffstat (limited to 'src/gui/userprofileform.cpp')
-rw-r--r--src/gui/userprofileform.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/userprofileform.cpp b/src/gui/userprofileform.cpp
index 368a3fe..6a9e39b 100644
--- a/src/gui/userprofileform.cpp
+++ b/src/gui/userprofileform.cpp
@@ -1046,7 +1046,7 @@ bool UserProfileForm::validateValues()
// RTP AUDIO
// Codecs
list<t_audio_codec> audio_codecs;
- for (size_t i = 0; i < activeCodecListBox->count(); i++) {
+ for (int i = 0; i < activeCodecListBox->count(); i++) {
audio_codecs.push_back(label2codec(activeCodecListBox->item(i)->text()));
}
current_profile->set_codecs(audio_codecs);
@@ -1347,7 +1347,7 @@ void UserProfileForm::chooseRemoteReleaseScript()
}
void UserProfileForm::addCodec() {
- for (size_t i = 0; i < availCodecListBox->count(); i++) {
+ for (int i = 0; i < availCodecListBox->count(); i++) {
if (availCodecListBox->item(i)->isSelected()) {
activeCodecListBox->addItem(availCodecListBox->item(i)->text());
@@ -1359,7 +1359,7 @@ void UserProfileForm::addCodec() {
}
void UserProfileForm::removeCodec() {
- for (size_t i = 0; i < activeCodecListBox->count(); i++) {
+ for (int i = 0; i < activeCodecListBox->count(); i++) {
if (activeCodecListBox->item(i)->isSelected()) {
availCodecListBox->addItem(activeCodecListBox->item(i)->text());
availCodecListBox->item(availCodecListBox->count() - 1)->setSelected(true);