Browse Source

fix typo in variable name that only surfaced because PyQt changed implicit float to int behaviour

master
Nils 2 years ago
parent
commit
9cbe7d1398
  1. 2
      qtgui/jacktransport.py

2
qtgui/jacktransport.py

@ -89,7 +89,7 @@ class JackTransportControls(object):
if self.visible: #optimisation
realPercent = seconds / self.currentMaximumInSeconds
progressPercent = realPercent * 100 * self.resolutionFactor #100 because that is 0.xy -> xy% )
rogressPercent = int(progressPercent)
progressPercent = int(progressPercent)
prettyTime = str(timedelta(seconds=int(seconds))) #timedelta without int will print microseconds
if self.currentMaximumInSeconds < 3600: #less than an hour
prettyTime = prettyTime[2:]

Loading…
Cancel
Save