summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorGeir Vattekar <geir.vattekar@trolltech.com>2009-09-10 11:43:24 (GMT)
committerGeir Vattekar <geir.vattekar@trolltech.com>2009-09-10 13:49:50 (GMT)
commit5f3861158862e1af168d591428fb9ecd8c3b767b (patch)
tree41ff93041fdd4bfaa3b88dce9572300b5b100946 /doc
parentedbff191b90ddcd44f996be99c017b6761787642 (diff)
downloadQt-5f3861158862e1af168d591428fb9ecd8c3b767b.zip
Qt-5f3861158862e1af168d591428fb9ecd8c3b767b.tar.gz
Qt-5f3861158862e1af168d591428fb9ecd8c3b767b.tar.bz2
Doc: Fixed snippet bug in stylesheet docs
Task-number: 241222 Reviewed-by: Trust Me
Diffstat (limited to 'doc')
-rw-r--r--doc/src/snippets/code/doc_src_stylesheet.qdoc3
-rw-r--r--doc/src/widgets-and-layouts/stylesheet.qdoc3
2 files changed, 3 insertions, 3 deletions
diff --git a/doc/src/snippets/code/doc_src_stylesheet.qdoc b/doc/src/snippets/code/doc_src_stylesheet.qdoc
index 9f5d989..f79f7ff 100644
--- a/doc/src/snippets/code/doc_src_stylesheet.qdoc
+++ b/doc/src/snippets/code/doc_src_stylesheet.qdoc
@@ -421,9 +421,6 @@ QSpinBox::down-button { height: 10px }
//! [59]
/* implicitly sets the size of down-button to the size of spindown.png */
QSpinBox::down-button { image: url(:/images/spindown.png) }
-
-QTextEdit { image: url(x1.png) url(x2.png) }
-QTextEdit { image: url(pic1.svg) }
//! [59]
diff --git a/doc/src/widgets-and-layouts/stylesheet.qdoc b/doc/src/widgets-and-layouts/stylesheet.qdoc
index adaaf71..c40795a 100644
--- a/doc/src/widgets-and-layouts/stylesheet.qdoc
+++ b/doc/src/widgets-and-layouts/stylesheet.qdoc
@@ -1970,6 +1970,9 @@
image within the rectangle can be specified using
\l{image-position-prop}{image-position}.
+ This property is for \l{subcontrol}s only--we don't support it for
+ other elements.
+
\warning The QIcon SVG plugin is needed to render SVG images.
Example: