summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authorQt Continuous Integration System <qt-info@nokia.com>2011-12-13 12:37:41 (GMT)
committerQt Continuous Integration System <qt-info@nokia.com>2011-12-13 12:37:41 (GMT)
commit9dd2051ba6d9575f7a5a6a0746e1d0d1a1e5efe6 (patch)
treeb26306c03a3304dd36c88560b683046b4e4abeb4 /src/gui
parent54ec273dbe2d6bb387cc2e2671bfae6f11495d31 (diff)
parentb249e4c32d697ef56c196bb2a14a18319100f127 (diff)
downloadQt-9dd2051ba6d9575f7a5a6a0746e1d0d1a1e5efe6.zip
Qt-9dd2051ba6d9575f7a5a6a0746e1d0d1a1e5efe6.tar.gz
Qt-9dd2051ba6d9575f7a5a6a0746e1d0d1a1e5efe6.tar.bz2
Merge branch 'master' of git://scm.dev.nokia.troll.no/qt/qt-symbian-team
* 'master' of git://scm.dev.nokia.troll.no/qt/qt-symbian-team: Default to QDir::homePath() in Symbian native file dialogs
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/dialogs/qfiledialog_symbian.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/dialogs/qfiledialog_symbian.cpp b/src/gui/dialogs/qfiledialog_symbian.cpp
index 1ffbf1d..01c7b9b 100644
--- a/src/gui/dialogs/qfiledialog_symbian.cpp
+++ b/src/gui/dialogs/qfiledialog_symbian.cpp
@@ -143,8 +143,8 @@ static QString launchSymbianDialog(const QString dialogCaption, const QString st
tryCount = 0;
} else {
// Symbian native file dialog doesn't allow accessing files outside C:/Data
- // It will always leave in that case, so default into QDir::rootPath() in error cases.
- QString dir = QDir::toNativeSeparators(QDir::rootPath());
+ // It will always leave in that case, so default into QDir::homePath() in error cases.
+ QString dir = QDir::toNativeSeparators(QDir::homePath());
startFolder = qt_QString2TPtrC(dir);
}
}