From 6a99d4198cb6b6d6122f71a1808b215363f098f6 Mon Sep 17 00:00:00 2001 From: Wiktor Zykubek Date: Wed, 14 Jun 2023 17:39:01 +0200 Subject: [PATCH] Remove unnecessary widgets --- form.ui | 18 ------------------ mainwindow.py | 1 + 2 files changed, 1 insertion(+), 18 deletions(-) diff --git a/form.ui b/form.ui index 33462bb..0171d90 100644 --- a/form.ui +++ b/form.ui @@ -65,24 +65,6 @@ - - - - - - Qt::Horizontal - - - - - - - 00:00 - - - - - diff --git a/mainwindow.py b/mainwindow.py index e3a7103..7f7e56b 100644 --- a/mainwindow.py +++ b/mainwindow.py @@ -84,6 +84,7 @@ class MainWindow(QMainWindow): self.__player.setSource(QUrl(stream_url)) self.ui.toolButton.setIcon(QIcon.fromTheme("media-playback-start")) + self.togglePlayer() def togglePlayer(self): if self.__player.playbackState() == QMediaPlayer.PlaybackState.PlayingState: