aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/utils/persistentsettings/persistentsettings.qbs
diff options
context:
space:
mode:
authorChristian Stenger <christian.stenger@qt.io>2020-08-14 15:02:46 +0200
committerChristian Stenger <christian.stenger@qt.io>2020-08-19 07:39:43 +0000
commite9c27cca3483967c1274170d6857419f321223bc (patch)
tree8319ba7c0a211185b637534e5b8b743911139f91 /tests/auto/utils/persistentsettings/persistentsettings.qbs
parent2ac60ac66e14dfc5f19f92d60979388de48f0f89 (diff)
Utils: Fix persisting of QRect
And pass explicitly a QVariant to the writer to avoid unexpected behavior when trying to store the geometry of a widget. This resulted in a warning for any session where the user had used the debugger at least once. Change-Id: I5cb2352ab29ff7d2a64c84ffcdf040efe6d04b94 Reviewed-by: Eike Ziller <eike.ziller@qt.io> Reviewed-by: hjk <hjk@qt.io>
Diffstat (limited to 'tests/auto/utils/persistentsettings/persistentsettings.qbs')
-rw-r--r--tests/auto/utils/persistentsettings/persistentsettings.qbs7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/auto/utils/persistentsettings/persistentsettings.qbs b/tests/auto/utils/persistentsettings/persistentsettings.qbs
new file mode 100644
index 0000000000..8b8d8a6c23
--- /dev/null
+++ b/tests/auto/utils/persistentsettings/persistentsettings.qbs
@@ -0,0 +1,7 @@
+import qbs
+
+QtcAutotest {
+ name: "PersistentSettings autotest"
+ Depends { name: "Utils" }
+ files: "tst_persistentsettings.cpp"
+}