From 1c303fc80e8c3d84598db3c0215fe70ce8d5398f Mon Sep 17 00:00:00 2001
From: hjk <qtc-committer@nokia.com>
Date: Thu, 12 Aug 2010 12:35:53 +0200
Subject: [PATCH] debugger: fix dumper output of QLocale::timeFormat()

---
 share/qtcreator/gdbmacros/gdbmacros.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/share/qtcreator/gdbmacros/gdbmacros.py b/share/qtcreator/gdbmacros/gdbmacros.py
index 2c7840e0ec6..60869f6e8d8 100644
--- a/share/qtcreator/gdbmacros/gdbmacros.py
+++ b/share/qtcreator/gdbmacros/gdbmacros.py
@@ -491,9 +491,9 @@ def qdump__QLocale(d, item):
             d.putCallItem("measurementSystem", item, "measurementSystem()")
             d.putCallItem("numberOptions", item, "numberOptions()")
             d.putCallItem("timeFormat_(short)", item,
-                "timeFormat(" + d.ns + "QLocale::ShortFormat)")
+                "timeFormat('" + d.ns + "QLocale::ShortFormat')")
             d.putCallItem("timeFormat_(long)", item,
-                "timeFormat(" + d.ns + "QLocale::LongFormat)")
+                "timeFormat('" + d.ns + "QLocale::LongFormat')")
             d.putCallItem("decimalPoint", item, "decimalPoint()")
             d.putCallItem("exponential", item, "exponential()")
             d.putCallItem("percent", item, "percent()")
-- 
GitLab