From cbc622f158a94fea9c6af8d675a8743e98267109 Mon Sep 17 00:00:00 2001 From: Michal Klocek Date: Fri, 9 Dec 2022 10:46:23 +0100 Subject: Fix qdoc warnings As JavaScript parsing issue got fixed , the limit was not changed, meaning there where 4 "unused" warnings possibilities. In the meantime another change e6a13d97898f3f4b19f61006d0716ca9e1b9f037 was merged which had 3 qdoc issues, which got therefore unnoticed. Fix those issues. Do not use underscore in example name and rename push_notification to push-notifications (like qtbase network-chat). Pick-to: 6.5 Change-Id: I2635424e24d3b9a0a02c2e6fe8ac383eec95c112 Reviewed-by: Allan Sandfeld Jensen --- .../doc/snippets/push-notifications/commands | 19 +++++++++++++++++++ .../doc/snippets/push_notifications/commands | 19 ------------------- 2 files changed, 19 insertions(+), 19 deletions(-) create mode 100644 src/webenginewidgets/doc/snippets/push-notifications/commands delete mode 100644 src/webenginewidgets/doc/snippets/push_notifications/commands (limited to 'src') diff --git a/src/webenginewidgets/doc/snippets/push-notifications/commands b/src/webenginewidgets/doc/snippets/push-notifications/commands new file mode 100644 index 000000000..aee9761c1 --- /dev/null +++ b/src/webenginewidgets/doc/snippets/push-notifications/commands @@ -0,0 +1,19 @@ +// Copyright (C) 2022 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause + +//! [0] +npm init -y +npm install web-push express +//! [0] + +//! [1] +"start": "node server.js" +//! [1] + +//! [2] +./node_odules/.bin/web-push generate-vapid-keys +//! [2] + +//! [3] +npm start +//! [3] diff --git a/src/webenginewidgets/doc/snippets/push_notifications/commands b/src/webenginewidgets/doc/snippets/push_notifications/commands deleted file mode 100644 index aee9761c1..000000000 --- a/src/webenginewidgets/doc/snippets/push_notifications/commands +++ /dev/null @@ -1,19 +0,0 @@ -// Copyright (C) 2022 The Qt Company Ltd. -// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause - -//! [0] -npm init -y -npm install web-push express -//! [0] - -//! [1] -"start": "node server.js" -//! [1] - -//! [2] -./node_odules/.bin/web-push generate-vapid-keys -//! [2] - -//! [3] -npm start -//! [3] -- cgit v1.2.3