From 9923d0b2dc0730bfa7fd8d3b7494876a3013d470 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Thu, 2 Dec 2010 06:19:29 +0900 Subject: [PATCH] remove revSpacing --- ankiqt/ui/deckproperties.py | 3 --- designer/deckproperties.ui | 45 ++++++------------------------------- 2 files changed, 7 insertions(+), 41 deletions(-) diff --git a/ankiqt/ui/deckproperties.py b/ankiqt/ui/deckproperties.py index 92ae60da4..11bf2de71 100644 --- a/ankiqt/ui/deckproperties.py +++ b/ankiqt/ui/deckproperties.py @@ -69,7 +69,6 @@ class DeckProperties(QDialog): self.dialog.leechFails.setValue(self.d.getInt("leechFails")) # spacing self.dialog.newSpacing.setText(unicode(self.d.getFloat("newSpacing")/60.0)) - self.dialog.revSpacing.setText(unicode(int(self.d.getFloat("revSpacing")*100))) def updateModelsList(self): idx = self.dialog.modelsList.currentRow() @@ -203,8 +202,6 @@ class DeckProperties(QDialog): pass try: self.d.setVar("newSpacing", float(self.dialog.newSpacing.text()) * 60) - self.d.setVar("revSpacing", float( - self.dialog.revSpacing.text()) / 100.0) except ValueError: pass # hour shift diff --git a/designer/deckproperties.ui b/designer/deckproperties.ui index 6730f0652..93e590f6a 100644 --- a/designer/deckproperties.ui +++ b/designer/deckproperties.ui @@ -513,14 +513,14 @@ - + Qt::Horizontal - + Show failed cards early @@ -530,7 +530,7 @@ - + @@ -543,14 +543,14 @@ - + Per-day scheduling - + @@ -639,14 +639,14 @@ - + Suspend leeches - + @@ -659,36 +659,6 @@ - - - - Review card spacing - - - - - - - - 0 - 0 - - - - - 50 - 16777215 - - - - - - - - % - - - @@ -770,7 +740,6 @@ leechFails timeOffset newSpacing - revSpacing collapse suspendLeeches perDay