Fixed some code snippets used in the PySide docs.
This commit is contained in:
parent
829ffd3dfd
commit
1508831725
8 changed files with 28 additions and 28 deletions
|
|
@ -59,7 +59,7 @@ int main(int argc, char *argv[])
|
|||
|
||||
//! [Adding a resource]
|
||||
document.addResource(QTextDocument.ImageResource,
|
||||
QUrl("mydata://image.png"), QVariant(image))
|
||||
QUrl("mydata://image.png"), image)
|
||||
//! [Adding a resource]
|
||||
|
||||
//! [Inserting an image with a cursor]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue