From 8eaddf8343242caa9e9dde562107ece8d0785680 Mon Sep 17 00:00:00 2001
From: Nico Vertriest <nico.vertriest@digia.com>
Date: Wed, 4 Mar 2015 15:12:04 +0100
Subject: [PATCH] Doc: corrected snippet issue in Defining Plugins doc

Task-number: QTBUG-44629
Change-Id: I70e20209b6b33f7adcbcafc6b7d959660cdc2e87
Reviewed-by: Martin Smith <martin.smith@digia.com>
---
 src/corelib/doc/qtcore.qdocconf | 3 ++-
 src/corelib/plugin/qplugin.qdoc | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/corelib/doc/qtcore.qdocconf b/src/corelib/doc/qtcore.qdocconf
index f3aff83a8ba..df1ee4afeaf 100644
--- a/src/corelib/doc/qtcore.qdocconf
+++ b/src/corelib/doc/qtcore.qdocconf
@@ -36,7 +36,8 @@ exampledirs += \
                ../ \
                snippets \
                ../../../examples/corelib \
-               ../../../examples/network/dnslookup
+               ../../../examples/network/dnslookup \
+               ../../../examples/widgets/tools
 
 imagedirs   += images
 
diff --git a/src/corelib/plugin/qplugin.qdoc b/src/corelib/plugin/qplugin.qdoc
index 81be1df5187..94f5bc8a301 100644
--- a/src/corelib/plugin/qplugin.qdoc
+++ b/src/corelib/plugin/qplugin.qdoc
@@ -44,7 +44,7 @@
     to the interface class called \a ClassName. The \a Identifier must
     be unique. For example:
 
-    \snippet code/doc_src_qplugin.cpp 0
+    \snippet plugandpaint/interfaces.h 3
 
     This macro is normally used right after the class definition for
     \a ClassName, in a header file. See the
-- 
GitLab