Remove unneeded variable.

This commit is contained in:
Tristan Dunn 2011-02-25 18:08:43 -05:00
parent 003529cd9f
commit c2b90e9301
1 changed files with 1 additions and 3 deletions

View File

@ -34,15 +34,13 @@ void Find::receivedArgument(const char *xpath) {
if (result.isValid()) {
QVariantList nodes = result.toList();
bool addComma = false;
double node;
for (int i = 0; i < nodes.size(); i++) {
node = nodes[i].toDouble();
if (addComma)
if (i > 0)
response.append(",");
response.append(QString::number(node));
addComma = true;
}
emit finished(true, response);