diff options
author | Maurice Kalinowski <maurice.kalinowski@nokia.com> | 2011-04-08 16:54:54 +0200 |
---|---|---|
committer | Maurice Kalinowski <maurice.kalinowski@nokia.com> | 2011-04-08 16:54:54 +0200 |
commit | 4e3f593c4726d5d4b135ca16182eb1e23139cbc9 (patch) | |
tree | 3cf2680269e1f6e2740c315d9d5113283ca5ae1d /tools/repocompare | |
parent | 6431cc7a539973e756fbcb2a56cfe72f031b8b48 (diff) |
style cleanup
Diffstat (limited to 'tools/repocompare')
-rw-r--r-- | tools/repocompare/mainwindow.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/repocompare/mainwindow.cpp b/tools/repocompare/mainwindow.cpp index b53a39650..82a6ef38f 100644 --- a/tools/repocompare/mainwindow.cpp +++ b/tools/repocompare/mainwindow.cpp @@ -104,7 +104,7 @@ void MainWindow::receiveRepository(QNetworkReply *reply) { QByteArray data = reply->readAll(); reply->deleteLater(); - if(reply == productionReply) + if (reply == productionReply) createRepositoryMap(data, productionMap); else if (reply == updateReply) createRepositoryMap(data, updateMap); @@ -118,7 +118,7 @@ void MainWindow::createRepositoryMap(const QByteArray &data, QMap<QString, Repos QXmlStreamReader reader(data); QString currentItem; RepositoryDescription currentDescription; - while(!reader.atEnd()) { + while (!reader.atEnd()) { QXmlStreamReader::TokenType type = reader.readNext(); if (type == QXmlStreamReader::StartElement) { if (reader.name() == "PackageUpdate") { |