From 67f7caa116e517a80e6e561ec10be91a26d1010e Mon Sep 17 00:00:00 2001
From: hjk <qtc-committer@nokia.com>
Date: Thu, 12 Aug 2010 12:39:14 +0200
Subject: [PATCH] debugger: add manual test for QLocale dumper

---
 tests/manual/gdbdebugger/simple/app.cpp | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/tests/manual/gdbdebugger/simple/app.cpp b/tests/manual/gdbdebugger/simple/app.cpp
index ce21d3e651d..5eb37d1447d 100644
--- a/tests/manual/gdbdebugger/simple/app.cpp
+++ b/tests/manual/gdbdebugger/simple/app.cpp
@@ -582,6 +582,14 @@ void testQLinkedList()
     v.push_back("dd");
  }
 
+void testQLocale()
+{
+    QLocale loc = QLocale::system();
+    QString s = loc.name();
+    //QVariant v = loc;
+    int i = 1;
+}
+
 void testQList()
 {
     QList<int> big;
@@ -1886,6 +1894,7 @@ int main(int argc, char *argv[])
     //testQSettings();
     //testWCout0();
     //testWCout();
+    testQLocale();
     testColor();
     testQRegion();
     testStuff();
-- 
GitLab