projects
/
ejpi
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
3dac318
)
Removing what looks to be dead code
author
Ed Page
<eopage@byu.net>
Wed, 12 Jan 2011 01:08:13 +0000
(19:08 -0600)
committer
Ed Page
<eopage@byu.net>
Wed, 12 Jan 2011 01:08:13 +0000
(19:08 -0600)
src/util/qtpie.py
patch
|
blob
|
history
diff --git
a/src/util/qtpie.py
b/src/util/qtpie.py
index
5532091
..
417313e
100755
(executable)
--- a/
src/util/qtpie.py
+++ b/
src/util/qtpie.py
@@
-260,13
+260,6
@@
class PieArtist(object):
self._paint_center_background(painter, adjustmentRect, selectionIndex)
self._paint_center_foreground(painter, selectionIndex)
return self._canvas
self._paint_center_background(painter, adjustmentRect, selectionIndex)
self._paint_center_foreground(painter, selectionIndex)
return self._canvas
- elif numChildren == 1:
- if selectionIndex == 0 and self._filing[0].isEnabled():
- painter.setBrush(self.palette.highlight())
- else:
- painter.setBrush(self.palette.window())
-
- painter.fillRect(self._canvas.rect(), painter.brush())
else:
for i in xrange(len(self._filing)):
self._paint_slice_background(painter, adjustmentRect, i, selectionIndex)
else:
for i in xrange(len(self._filing)):
self._paint_slice_background(painter, adjustmentRect, i, selectionIndex)