summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfgang Rohdewald <wolfgang@rohdewald.de>2016-08-14 06:55:44 (GMT)
committerWolfgang Rohdewald <wolfgang@rohdewald.de>2016-08-24 10:26:50 (GMT)
commit33cd3aafe45d24f5ac5671b26de6701e0256c42c (patch)
tree215f96e7e94cf54ce1f9fb53aa9cc45371b23f61
parentdc266864f2263ee96ef11b2e963334d8b0683636 (diff)
get rid of a small TODO
-rw-r--r--src/scoringdialog.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/scoringdialog.py b/src/scoringdialog.py
index 155560d..8e13032 100644
--- a/src/scoringdialog.py
+++ b/src/scoringdialog.py
@@ -47,7 +47,6 @@ from statesaver import StateSaver
from query import Query
from guiutil import ListComboBox, Painter, decorateWindow, BlockSignals
from tree import TreeItem, RootItem, TreeModel
-from tile import Tile
class ScoreTreeItem(TreeItem):
@@ -984,8 +983,7 @@ class ScoringDialog(QWidget):
"""returns the currently selected last tile"""
idx = self.cbLastTile.currentIndex()
if idx >= 0:
- # TODO: isn't that already a Tile?
- return Tile(variantValue(self.cbLastTile.itemData(idx)))
+ return variantValue(self.cbLastTile.itemData(idx))
def clickedPlayerIdx(self, checkbox):
"""the player whose box has been clicked"""