diff options
author | Paul Wicking <paul.wicking@qt.io> | 2020-08-28 14:43:14 +0200 |
---|---|---|
committer | Paul Wicking <paul.wicking@qt.io> | 2020-09-01 06:11:46 +0200 |
commit | 4074c542708b4e7e605a63745e9d6072f24f5a44 (patch) | |
tree | 58f8faea70eea08ae64b2ea0df716ab585ec371b /src/gui/util | |
parent | 323d2b57e0396bd4a69f47f764b2f328f9cf7629 (diff) |
Doc: Compile GUI util snippets
Fix minor issues (e.g. whitespace, missing semi-colon) in passing.
Change-Id: Ieec8deb8aaf4358ffc35502fae6ea7c043d34672
Done-with: Nico Vertriest <nico.vertriest@qt.io>
Task-number: QTBUG-81486
Reviewed-by: Topi Reiniƶ <topi.reinio@qt.io>
Diffstat (limited to 'src/gui/util')
-rw-r--r-- | src/gui/util/qdesktopservices.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/util/qdesktopservices.cpp b/src/gui/util/qdesktopservices.cpp index 53f84fd24f..0550cb6f75 100644 --- a/src/gui/util/qdesktopservices.cpp +++ b/src/gui/util/qdesktopservices.cpp @@ -135,6 +135,7 @@ void QOpenUrlHandlerRegistry::handlerDestroyed(QObject *handler) inside the application: \snippet code/src_gui_util_qdesktopservices.cpp 0 + \snippet code/src_gui_util_qdesktopservices.cpp setUrlHandler If inside the handler you decide that you can't open the requested URL, you can just call QDesktopServices::openUrl() again with the |