diff options
| author | Oleksii Zbykovskyi <Oleksii.Zbykovskyi@qt.io> | 2025-08-06 13:41:23 +0200 |
|---|---|---|
| committer | Oleksii Zbykovskyi <Oleksii.Zbykovskyi@qt.io> | 2025-08-06 20:26:58 +0200 |
| commit | 1ad8e33ef2500cba7e83cb7248f0f554def610ab (patch) | |
| tree | 566be8b0b91975bceed5e046a9bc0ebb5704128b /src/widgets/doc/snippets/qsplashscreen/main.cpp | |
| parent | 7564ea5f26f3b5d19abe245a0e10564c54fefd73 (diff) | |
Combine two snippets blocks in one
Snippets 0 and 1 are used only together and may be combined.
Change-Id: Ib138d321116b9eaf4152690dbfbe3a9b20217203
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/widgets/doc/snippets/qsplashscreen/main.cpp')
| -rw-r--r-- | src/widgets/doc/snippets/qsplashscreen/main.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/widgets/doc/snippets/qsplashscreen/main.cpp b/src/widgets/doc/snippets/qsplashscreen/main.cpp index c4821c6ad00..85a7a6ca396 100644 --- a/src/widgets/doc/snippets/qsplashscreen/main.cpp +++ b/src/widgets/doc/snippets/qsplashscreen/main.cpp @@ -13,15 +13,13 @@ int main(int argc, char *argv[]) QSplashScreen splash(pixmap); splash.show(); app.processEvents(); -//! [0] - -//! [1] + //... QMainWindow window; window.show(); splash.finish(&window); return app.exec(); } -//! [1] +//! [0] void example() { |
