Do *not* mix tabs and spaces.
This commit is contained in:
parent
8b1f0d192a
commit
f1b3580d57
1 changed files with 1 additions and 2 deletions
|
|
@ -1,5 +1,4 @@
|
||||||
import unittest
|
import unittest
|
||||||
import sys
|
|
||||||
from PySide.QtGui import QToolBar, QApplication, QAction, QToolButton
|
from PySide.QtGui import QToolBar, QApplication, QAction, QToolButton
|
||||||
|
|
||||||
class TestLabelPixmap(unittest.TestCase):
|
class TestLabelPixmap(unittest.TestCase):
|
||||||
|
|
@ -9,7 +8,7 @@ class TestLabelPixmap(unittest.TestCase):
|
||||||
for i in xrange(20):
|
for i in xrange(20):
|
||||||
toolbar.addAction(QAction("Action %d" % i, None))
|
toolbar.addAction(QAction("Action %d" % i, None))
|
||||||
|
|
||||||
buttons = toolbar.findChildren(QToolButton, "")
|
buttons = toolbar.findChildren(QToolButton, "")
|
||||||
toolbar.clear()
|
toolbar.clear()
|
||||||
|
|
||||||
for b in buttons:
|
for b in buttons:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue