diff options
| author | manuel <manuel@mausz.at> | 2011-05-11 19:59:52 +0200 |
|---|---|---|
| committer | manuel <manuel@mausz.at> | 2011-05-11 19:59:52 +0200 |
| commit | 4b555b550f2b140d03fbffe56064a894ad7a43f1 (patch) | |
| tree | 4a4d7c4a7434945b76da71d71b77f9b84490554e /pacman-c++ | |
| parent | f5cb775b8f794fc4900fda1fbb2d6c59d695f815 (diff) | |
| download | foop-4b555b550f2b140d03fbffe56064a894ad7a43f1.tar.gz foop-4b555b550f2b140d03fbffe56064a894ad7a43f1.tar.bz2 foop-4b555b550f2b140d03fbffe56064a894ad7a43f1.zip | |
remove unnecessary audio preload
Diffstat (limited to 'pacman-c++')
| -rw-r--r-- | pacman-c++/client/mainwidget.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/pacman-c++/client/mainwidget.cpp b/pacman-c++/client/mainwidget.cpp index 99b0f5b..60e7f95 100644 --- a/pacman-c++/client/mainwidget.cpp +++ b/pacman-c++/client/mainwidget.cpp | |||
| @@ -39,8 +39,6 @@ MainWidget::~MainWidget() | |||
| 39 | 39 | ||
| 40 | void MainWidget::doConnect(QString srv, unsigned int port) | 40 | void MainWidget::doConnect(QString srv, unsigned int port) |
| 41 | { | 41 | { |
| 42 | /* preload sound - this eliminates some loading gap on slower computers */ | ||
| 43 | AudioManager::self()->setSource(Sound::Intro); | ||
| 44 | deleteGUI(); | 42 | deleteGUI(); |
| 45 | 43 | ||
| 46 | Color::Color color = connectToServer(srv, port); | 44 | Color::Color color = connectToServer(srv, port); |
