summaryrefslogtreecommitdiff
path: root/noncore/multimedia/opieplayer2/main.cpp
authorsimon <simon>2002-12-02 20:32:42 (UTC)
committer simon <simon>2002-12-02 20:32:42 (UTC)
commit6cd1494f86f2f60614c9b9a7b959666dec2500ee (patch) (side-by-side diff)
tree5f5cdbae8be03210fae087eecec2f6b2d070569c /noncore/multimedia/opieplayer2/main.cpp
parentabeed050bedee6e2697ea417ed74ab621361da48 (diff)
downloadopie-6cd1494f86f2f60614c9b9a7b959666dec2500ee.zip
opie-6cd1494f86f2f60614c9b9a7b959666dec2500ee.tar.gz
opie-6cd1494f86f2f60614c9b9a7b959666dec2500ee.tar.bz2
- the audiowidget and the videowidget don't rely on the mediaplayerstate
singleton anymore
Diffstat (limited to 'noncore/multimedia/opieplayer2/main.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/multimedia/opieplayer2/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/noncore/multimedia/opieplayer2/main.cpp b/noncore/multimedia/opieplayer2/main.cpp
index 02fdbf3..fd47ea5 100644
--- a/noncore/multimedia/opieplayer2/main.cpp
+++ b/noncore/multimedia/opieplayer2/main.cpp
@@ -16,15 +16,15 @@ int main(int argc, char **argv) {
MediaPlayerState st( 0, "mediaPlayerState" );
mediaPlayerState = &st;
PlayListWidget pl( st, 0, "playList" );
playList = &pl;
pl.showMaximized();
- AudioWidget aw( 0, "audioUI" );
+ AudioWidget aw( st, 0, "audioUI" );
audioUI = &aw;
- VideoWidget vw( 0, "videoUI" );
+ VideoWidget vw( st, 0, "videoUI" );
videoUI = &vw;
a.processEvents();
MediaPlayer mp( st, 0, "mediaPlayer" );
a.showMainDocumentWidget(&pl);