forked from Wobbl/Wobuzz
Added option to always clear the cache of the last track when another track starts to greatly reduce memory usage.
This commit is contained in:
parent
cba4fd67fa
commit
dc46ac07bb
5 changed files with 38 additions and 1 deletions
14
wobuzz/ui/settings/behavior.py
Normal file
14
wobuzz/ui/settings/behavior.py
Normal file
|
@ -0,0 +1,14 @@
|
|||
#!/usr/bin/python3
|
||||
|
||||
from PyQt6.QtWidgets import QWidget, QFormLayout, QCheckBox
|
||||
|
||||
|
||||
class BehaviourSettings(QWidget):
|
||||
def __init__(self, *args, **kwargs):
|
||||
super().__init__(*args, **kwargs)
|
||||
|
||||
self.layout = QFormLayout(self)
|
||||
self.setLayout(self.layout)
|
||||
|
||||
self.clear_track_cache = QCheckBox(self)
|
||||
self.layout.addRow("Clear track cache immediately when finished", self.clear_track_cache)
|
Loading…
Add table
Add a link
Reference in a new issue