Navigation Menu

Skip to content

Commit

Permalink
dag: remove unused variables
Browse files Browse the repository at this point in the history
Signed-off-by: David Aguilar <davvid@gmail.com>
  • Loading branch information
davvid committed Feb 6, 2017
1 parent ad94c33 commit 9e4ea73
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions cola/widgets/dag.py
Expand Up @@ -1088,7 +1088,6 @@ def type(self):
def boundingRect(self, cache=Cache):
QPainterPath = QtGui.QPainterPath
QRectF = QtCore.QRectF
QPoint = QtCore.QPoint

width = 72
height = 18
Expand Down Expand Up @@ -1386,9 +1385,6 @@ def fit_view_to_items(self, items):
x_max = y_max = -maxsize

for item in items:
item_rect = item.boundingRect()
x_off = item_rect.width()
y_off = item_rect.height()
pos = item.pos()
x = pos.x()
y = pos.y()
Expand Down

0 comments on commit 9e4ea73

Please sign in to comment.