[Telepathy-commits] [telepathy-qt4/master] Fixed bug while setting error when parsing key files.

Andre Moreira Magalhaes (andrunko) andre.magalhaes at collabora.co.uk
Mon Jan 5 07:58:52 PST 2009


---
 TelepathyQt4/key-file.cpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/TelepathyQt4/key-file.cpp b/TelepathyQt4/key-file.cpp
index 3551aaa..44768b7 100644
--- a/TelepathyQt4/key-file.cpp
+++ b/TelepathyQt4/key-file.cpp
@@ -76,11 +76,11 @@ void KeyFile::Private::setFileName(const QString &fName)
     read();
 }
 
-void KeyFile::Private::setError(KeyFile::Status status, const QString &reason)
+void KeyFile::Private::setError(KeyFile::Status st, const QString &reason)
 {
     warning() << QString("ERROR: filename(%1) reason(%2)")
                          .arg(fileName).arg(reason);
-    status = status;
+    status = st;
     groups.clear();
 }
 
-- 
1.5.6.5




More information about the Telepathy-commits mailing list