From 4074c542708b4e7e605a63745e9d6072f24f5a44 Mon Sep 17 00:00:00 2001 From: Paul Wicking Date: Fri, 28 Aug 2020 14:43:14 +0200 Subject: Doc: Compile GUI util snippets MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fix minor issues (e.g. whitespace, missing semi-colon) in passing. Change-Id: Ieec8deb8aaf4358ffc35502fae6ea7c043d34672 Done-with: Nico Vertriest Task-number: QTBUG-81486 Reviewed-by: Topi Reiniƶ --- src/gui/util/qdesktopservices.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gui/util') 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 -- cgit v1.2.3