From 9e71a3a8a2d092b4ce61c502e82c0a275656a532 Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Sat, 27 Feb 2010 11:45:25 +0000 Subject: fixed distortions on startup git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@1591 90c681e8-e032-0410-971d-27865f9a5e38 --- src/ui/mainwindow.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/ui/mainwindow.cpp') diff --git a/src/ui/mainwindow.cpp b/src/ui/mainwindow.cpp index 1224fbebc..4fad52ce8 100644 --- a/src/ui/mainwindow.cpp +++ b/src/ui/mainwindow.cpp @@ -616,10 +616,7 @@ void MainWindow::resume() settings.beginGroup("General"); if(settings.value("resume_playback", FALSE).toBool()) { - play(); qint64 pos = settings.value("resume_playback_time").toLongLong(); - qApp->processEvents(); - if(pos) - m_core->seek(pos); + m_player->play(pos); } } -- cgit v1.2.3-13-gbd6f