diff --git a/src/plugins/debugger/json.cpp b/src/plugins/debugger/json.cpp
index 374c8a25030b57cb3388b59166a216f127f6d0d1..e1eede35f087108f482a68cc0f00eb9cdb02f97b 100644
--- a/src/plugins/debugger/json.cpp
+++ b/src/plugins/debugger/json.cpp
@@ -313,12 +313,12 @@ QByteArray JsonValue::toString(bool multiline, int indent) const
             else
                 result += "Invalid";
             break;
-        case String: 
+        case String:
             if (!m_name.isEmpty())
                 result += m_name + "=";
             result += '"' + escapeCString(m_data) + '"';
             break;
-        case Number: 
+        case Number:
             if (!m_name.isEmpty())
                 result += '"' + m_name + "\":";
             result += m_data;
diff --git a/src/plugins/debugger/json.h b/src/plugins/debugger/json.h
index 5c7fee039108ead1ed37c9fca2389d45f1f97ac0..92ee2fdad5d1cb2e34c80b2c153953bfd83610bc 100644
--- a/src/plugins/debugger/json.h
+++ b/src/plugins/debugger/json.h
@@ -71,7 +71,7 @@ public:
     inline const QList<JsonValue> &children() const { return m_children; }
     inline int childCount() const { return m_children.size(); }
 
-    const JsonValue &childAt(int index) const { return m_children[index]; } 
+    const JsonValue &childAt(int index) const { return m_children[index]; }
     JsonValue &childAt(int index) { return m_children[index]; }
     JsonValue findChild(const char *name) const;