aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/quick
diff options
context:
space:
mode:
authorMitch Curtis <mitch.curtis@qt.io>2018-09-11 10:41:57 +0200
committerMitch Curtis <mitch.curtis@qt.io>2018-10-11 13:26:56 +0000
commit1ce94fc0f5311c8d9d7dc50de239a827279edcd9 (patch)
treedfa43e5f70a049d2fa1c3617998dacffc4409e5a /tests/auto/quick
parent7ca32bc41c2b5a5f6ea360391ba7e398ad7f961b (diff)
Qt Labs Settings: warn if failed to initialize internal QSettings instance
First, warn the user that the QSettings instance failed to initialize if there was an error. Then, if the error was QSettings::AccessError, print the specific application identifiers that weren't set so they know what they have to do. For example: QML Settings: Failed to initialize QSettings instance. Status code is: 1 QML Settings: The following application identifiers have not been set: QVector("organizationName", "organizationDomain") In my case, the QSettings instance wasn't created on Windows because organizationName wasn't set. Change-Id: I7970209e09b78f785730422c45978775311b96ac Reviewed-by: Jan Arve Sæther <jan-arve.saether@qt.io>
Diffstat (limited to 'tests/auto/quick')
0 files changed, 0 insertions, 0 deletions