Improve code style.

This commit is contained in:
Felix Geyer
2012-04-18 22:08:22 +02:00
parent 4e5e5c71ca
commit 2e011d5362
29 changed files with 95 additions and 89 deletions

View File

@@ -376,7 +376,6 @@ Group* KeePass2XmlReader::parseGroup()
else {
raiseError(3);
}
}
else if (m_xml.name() == "EnableSearching") {
QString str = readString();
@@ -733,7 +732,7 @@ QColor KeePass2XmlReader::readColor()
}
QColor color;
for (int i=0; i<= 2; i++) {
for (int i = 0; i <= 2; i++) {
QString rgbPartStr = colorStr.mid(1 + 2*i, 2);
bool ok;
int rgbPart = rgbPartStr.toInt(&ok, 16);