diff options
author | Andre Moreira Magalhaes (andrunko) <andre.magalhaes@collabora.co.uk> | 2009-01-05 12:59:22 -0300 |
---|---|---|
committer | Andre Moreira Magalhaes (andrunko) <andre.magalhaes@collabora.co.uk> | 2009-01-05 14:42:52 -0300 |
commit | 866786f281d4af374a73b3506d0622d40fa72fa6 (patch) | |
tree | e1a06a221efbe968d171b9d9f6da901558efdf59 /qt4 | |
parent | ded2caa5edce2fed44e952bc15fe48b101b4ddd6 (diff) |
Fixed bug while searching for keys on on key file.
Diffstat (limited to 'qt4')
-rw-r--r-- | qt4/TelepathyQt4/key-file.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qt4/TelepathyQt4/key-file.cpp b/qt4/TelepathyQt4/key-file.cpp index 44768b770..6c8538f4d 100644 --- a/qt4/TelepathyQt4/key-file.cpp +++ b/qt4/TelepathyQt4/key-file.cpp @@ -152,7 +152,7 @@ bool KeyFile::Private::read() } else { idx = data.indexOf('='); - if (idx == 0) { + if (idx == -1) { setError(KeyFile::FormatError, QString("format error at line %1 - missing '='") .arg(line)); |