aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2008-11-27 19:09:20 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2008-11-27 19:09:20 +0000
commit6f42fc16aa3b35750598e4322c3dbd1792e66e7d (patch)
tree5f14a0d19e3e400bfadf924e3ba7c8b9e3cf8eaa /src
parent385ed55c91b1bb50fb98dce6744b2ab139568f60 (diff)
downloadqmmp-6f42fc16aa3b35750598e4322c3dbd1792e66e7d.tar.gz
qmmp-6f42fc16aa3b35750598e4322c3dbd1792e66e7d.tar.bz2
qmmp-6f42fc16aa3b35750598e4322c3dbd1792e66e7d.zip
fixed next/previous command in pause mode
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@641 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src')
-rw-r--r--src/ui/mainwindow.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ui/mainwindow.cpp b/src/ui/mainwindow.cpp
index a13005ae2..3be819487 100644
--- a/src/ui/mainwindow.cpp
+++ b/src/ui/mainwindow.cpp
@@ -275,6 +275,8 @@ void MainWindow::next()
m_playlist->update();
if (m_core->state() != Qmmp::Stopped)
{
+ if (m_core->state() == Qmmp::Paused)
+ stop();
m_elapsed = 0;
play();
}
@@ -294,6 +296,8 @@ void MainWindow::previous()
m_playlist->update();
if (m_core->state() != Qmmp::Stopped)
{
+ if (m_core->state() == Qmmp::Paused)
+ stop();
m_elapsed = 0;
play();
}