From 507f8b6ca5679c4898b721520dd4011f6b9e5824 Mon Sep 17 00:00:00 2001 From: manuel Date: Fri, 8 Apr 2011 15:18:38 +0200 Subject: make audioplayer useful --- pacman-c++/mainwidget.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'pacman-c++/mainwidget.cpp') diff --git a/pacman-c++/mainwidget.cpp b/pacman-c++/mainwidget.cpp index ddce051..b421c36 100644 --- a/pacman-c++/mainwidget.cpp +++ b/pacman-c++/mainwidget.cpp @@ -92,12 +92,8 @@ MainWidget::MainWidget() createGui(); updateMap(createDummyMap()); -#if 0 - emit startGame(); -#else - AudioPlayer::self()->playIntro(); connect(AudioPlayer::self(), SIGNAL(finished()), this, SLOT(startGame())); -#endif + AudioPlayer::self()->play(AudioPlayer::Intro); } void MainWidget::createGui() -- cgit v1.2.3