summaryrefslogtreecommitdiffstats
path: root/src/widgets/doc/snippets/qstyleplugin
diff options
context:
space:
mode:
authorZhang Xingtao <zhxt@ovi.com>2014-06-12 19:11:35 +0800
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-06-12 14:11:19 +0200
commit02b7b21f9bafcba3231610fef31b590474567472 (patch)
tree093b3a6d304a182512e69b52b2ede994ae9dc62c /src/widgets/doc/snippets/qstyleplugin
parent490e79e39ee90ad89bac164891177160d1926fdf (diff)
Doc: correct the format of Q_PLUGIN_METADATA macro in sample codes
Change-Id: I464a0c0a590b0b90cf0fe7ccd448ee9bf704bd4f Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
Diffstat (limited to 'src/widgets/doc/snippets/qstyleplugin')
-rw-r--r--src/widgets/doc/snippets/qstyleplugin/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widgets/doc/snippets/qstyleplugin/main.cpp b/src/widgets/doc/snippets/qstyleplugin/main.cpp
index 4cf20ab960..e1a0d1b626 100644
--- a/src/widgets/doc/snippets/qstyleplugin/main.cpp
+++ b/src/widgets/doc/snippets/qstyleplugin/main.cpp
@@ -45,7 +45,7 @@
class MyStylePlugin : public QStylePlugin
{
Q_OBJECT
- Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QStyleFactoryInterface" FILE mystyleplugin.json)
+ Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QStyleFactoryInterface" FILE "mystyleplugin.json")
public:
MyStylePlugin(QObject *parent = 0);