removed warnings

This commit is contained in:
Srivats P. 2011-10-23 11:38:13 +05:30
parent e188655e67
commit 7f0ffd66e0

View File

@ -407,7 +407,6 @@ void StreamConfigDialog::on_tbAdd_clicked()
{ {
int n = 0; int n = 0;
QModelIndex idx2; QModelIndex idx2;
AbstractProtocol *p;
QModelIndexList selection; QModelIndexList selection;
selection = lvAllProtocols->selectionModel()->selectedIndexes(); selection = lvAllProtocols->selectionModel()->selectedIndexes();
@ -426,7 +425,7 @@ void StreamConfigDialog::on_tbAdd_clicked()
if (!_iter->hasNext()) if (!_iter->hasNext())
return; return;
p = _iter->next(); _iter->next();
} }
foreach(QModelIndex idx, selection) foreach(QModelIndex idx, selection)
@ -1023,7 +1022,7 @@ void StreamConfigDialog::on_rbBurstsPerSec_toggled(bool checked)
on_leBurstsPerSec_textChanged(leBurstsPerSec->text()); on_leBurstsPerSec_textChanged(leBurstsPerSec->text());
} }
void StreamConfigDialog::on_lePacketsPerBurst_textChanged(const QString &text) void StreamConfigDialog::on_lePacketsPerBurst_textChanged(const QString &/*text*/)
{ {
if (rbSendBursts->isChecked()) if (rbSendBursts->isChecked())
on_leBurstsPerSec_textChanged(leBurstsPerSec->text()); on_leBurstsPerSec_textChanged(leBurstsPerSec->text());