[telepathy-qt4/master] manager-file: Fixed build with some gcc versions.

Andre Moreira Magalhaes (andrunko) andre.magalhaes at collabora.co.uk
Sat Apr 18 15:15:12 PDT 2009


---
 TelepathyQt4/manager-file.cpp |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/TelepathyQt4/manager-file.cpp b/TelepathyQt4/manager-file.cpp
index 6014644..7f55eda 100644
--- a/TelepathyQt4/manager-file.cpp
+++ b/TelepathyQt4/manager-file.cpp
@@ -268,11 +268,10 @@ QVariant ManagerFile::Private::valueForKey(const QString &param,
                 return QVariant(value);
             }
         default:
-            {
-                QString value = keyFile.value(param);
-                return QVariant(value);
-            }
+            break;
     }
+    QString value = keyFile.value(param);
+    return QVariant(value);
 }
 
 
-- 
1.5.6.5



More information about the telepathy-commits mailing list