summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/webenginewidgets/stylesheetbrowser/mainwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/webenginewidgets/stylesheetbrowser/mainwindow.cpp b/examples/webenginewidgets/stylesheetbrowser/mainwindow.cpp
index cbe678fc8..ab786d5c9 100644
--- a/examples/webenginewidgets/stylesheetbrowser/mainwindow.cpp
+++ b/examples/webenginewidgets/stylesheetbrowser/mainwindow.cpp
@@ -27,7 +27,7 @@ MainWindow::MainWindow(const QUrl &url) :
// Add back default style sheets if the user cleared them out
loadDefaultStyleSheets();
} else {
- for (auto name : qAsConst(styleSheets)) {
+ for (auto name : std::as_const(styleSheets)) {
StyleSheet styleSheet = settings.value(name).value<StyleSheet>();
if (styleSheet.second)
insertStyleSheet(name, styleSheet.first, false);