summaryrefslogtreecommitdiffstats
path: root/examples/widgets/widgets/tablet
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@theqtcompany.com>2016-01-26 10:44:28 +0100
committerFriedemann Kleint <Friedemann.Kleint@theqtcompany.com>2016-01-28 19:01:20 +0000
commit910f719bd111813f37278b67d07f9d12cb03a4ff (patch)
tree2885813c73b4d342c51b777f67baa102c6dccdac /examples/widgets/widgets/tablet
parent7236721bf8bacc0978fc872d7e4805c7be7824f0 (diff)
Refactor QStandardPaths for Desktop Windows.
Replace the large switch in QStandardPaths::writableLocation() by a function mapping QStandardPaths::StandardLocation to the int clsid required by SHGetSpecialFolderPath(). Warn if SHGetSpecialFolderPath() fails for config location and append prefixes (cache/application name/organization) only on success. Change the logic in QStandardPaths::standardLocations() to append the writable location first, avoiding the prepend(). Task-number: QTBUG-50570 Change-Id: I9d80e83d1ca7af3ea8d3ac2c720ee981b1b2c32a Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
Diffstat (limited to 'examples/widgets/widgets/tablet')
0 files changed, 0 insertions, 0 deletions