summaryrefslogtreecommitdiff
path: root/doc/src/snippets/code/src_sql_models_qsqlquerymodel.cpp
diff options
context:
space:
mode:
authorGareth Stockwell <ext-gareth.stockwell@nokia.com>2011-12-13 12:24:14 +0000
committerGareth Stockwell <ext-gareth.stockwell@nokia.com>2011-12-13 12:33:03 +0000
commitb249e4c32d697ef56c196bb2a14a18319100f127 (patch)
treeb26306c03a3304dd36c88560b683046b4e4abeb4 /doc/src/snippets/code/src_sql_models_qsqlquerymodel.cpp
parent43d4faf686da7d553171d7c8894c2825b4572dd6 (diff)
downloadqt4-tools-b249e4c32d697ef56c196bb2a14a18319100f127.tar.gz
Default to QDir::homePath() in Symbian native file dialogs
Symbian places restrictions on the directories in which the native file dialog can browse. If the path passed to QFileDialog::getXxxFileName() is inaccessible, the implementation defaults to a path which is accessible. Previously, this default path was QDir::rootPath(). Changes to the Symbian file engine in Qt 4.8 mean that this now returns "C:\" which is inaccesible to the file dialog. This patch changes the default path to QDir::homePath(), which returns "C:\data". Task-number: ou1cimx1#947939 Reviewed-by: Miikka Heikkinen
Diffstat (limited to 'doc/src/snippets/code/src_sql_models_qsqlquerymodel.cpp')
0 files changed, 0 insertions, 0 deletions