summaryrefslogtreecommitdiffstats
path: root/tests/auto/widgets/kernel/qformlayout/tst_qformlayout.cpp
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2016-10-28 14:11:21 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2016-10-28 14:14:28 +0000
commit8cd812455932f896b45aae84c4dc571f60f60b25 (patch)
tree6c2365856023fbd06c803dbd2607c9226d33bb5c /tests/auto/widgets/kernel/qformlayout/tst_qformlayout.cpp
parente5451f086bb9551527a4f0da06525eef860a53a9 (diff)
Windows QPA: Do not use QSettings to access the registry
When commenting out the warning in createOrOpenKey() (src\corelib\io\qsettings_win.cpp:157), applications produce warnings: QSettings: Failed to create subkey "Software\Microsoft\Windows NT\CurrentVersion\FontSubstitutes": Access is denied. indicating that an attempt to open the registry in read/write mode fails. Add a utility function to read out registry strings in read-only mode to the font database and use that instead. Change-Id: I4187344cac7ec2ba27f15b51e237575efc171853 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'tests/auto/widgets/kernel/qformlayout/tst_qformlayout.cpp')
0 files changed, 0 insertions, 0 deletions