diff options
Diffstat (limited to 'examples/browser/settings.cpp')
-rw-r--r-- | examples/browser/settings.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/browser/settings.cpp b/examples/browser/settings.cpp index 17163c5..7adb2bf 100644 --- a/examples/browser/settings.cpp +++ b/examples/browser/settings.cpp @@ -79,7 +79,7 @@ void SettingsDialog::loadDefaults() fixedFont = QFont(fixedFontFamily, fixedFontSize); fixedLabel->setText(QString(QLatin1String("%1 %2")).arg(fixedFont.family()).arg(fixedFont.pointSize())); - downloadsLocation->setText(QDesktopServices::storageLocation(QDesktopServices::DesktopLocation)); + downloadsLocation->setText(QStandardPaths::writableLocation(QStandardPaths::DesktopLocation)); enableJavascript->setChecked(defaultSettings->testAttribute(QWebSettings::JavascriptEnabled)); enablePlugins->setChecked(defaultSettings->testAttribute(QWebSettings::PluginsEnabled)); |