summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcelo Lira <marcelo.lira@openbossa.org>2011-01-13 13:13:39 -0300
committerMarcelo Lira <marcelo.lira@openbossa.org>2011-01-14 17:01:55 -0300
commit0d9a584a1c1b557990f0b31aa95f16da62392d86 (patch)
tree23b5438b93f95285624be168beefdb92594db84d
parent530a3d23c58a9997106018a64624f4d654e6d6ea (diff)
downloadpyside-0d9a584a1c1b557990f0b31aa95f16da62392d86.tar.gz
pyside-0d9a584a1c1b557990f0b31aa95f16da62392d86.tar.xz
pyside-0d9a584a1c1b557990f0b31aa95f16da62392d86.zip
Fixed style on QUiLoader code snippet.
-rw-r--r--doc/codesnippets/doc/src/snippets/quiloader/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/codesnippets/doc/src/snippets/quiloader/main.cpp b/doc/codesnippets/doc/src/snippets/quiloader/main.cpp
index 2365942..10cdddb 100644
--- a/doc/codesnippets/doc/src/snippets/quiloader/main.cpp
+++ b/doc/codesnippets/doc/src/snippets/quiloader/main.cpp
@@ -50,7 +50,7 @@ def loadCustomWidget(parent):
availableWidgets = loader.availableWidgets()
- if (availableWidgets.contains("AnalogClock")):
+ if availableWidgets.contains("AnalogClock"):
myWidget = loader.createWidget("AnalogClock", parent)
return myWidget