Skip to content
This repository was archived by the owner on Jul 8, 2018. It is now read-only.

Commit d798a48

Browse files
committed
add stop to player
1 parent b6dd4ff commit d798a48

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

CuriElements/app.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
from PyQt5.QtWidgets import QApplication
99

10-
from CuriElements.background import Background
10+
from CuriElements.curiwidget import CuriWidget
1111

1212

1313
def app():
@@ -19,7 +19,7 @@ def app():
1919
app.setOrganizationName('CodeHuntersLab')
2020
app.setOrganizationDomain('CodeHuntersLab.com')
2121
app.setApplicationVersion('1.0')
22-
w = Background()
22+
w = CuriWidget()
2323
w.show()
2424
sys.exit(app.exec_())
2525

CuriElements/background.py renamed to CuriElements/curiwidget.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
from CuriElements.soundthread import SoundThread
1010

1111

12-
class Background(QWidget):
12+
class CuriWidget(QWidget):
1313
def __init__(self, parent=None):
14-
super(Background, self).__init__(parent, Qt.FramelessWindowHint | Qt.WindowSystemMenuHint)
14+
super(CuriWidget, self).__init__(parent, Qt.FramelessWindowHint | Qt.WindowSystemMenuHint)
1515

1616
self.thread = SoundThread(self)
1717
self.dragPosition = QPoint()

0 commit comments

Comments
 (0)