[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [amarok] src/dynamic/biases: Fix: Problem with the album play option
From: Ralf Engels <ralf-engels () gmx ! de>
Date: 2015-02-01 20:48:15
Message-ID: E1YI1RH-00038C-25 () scm ! kde ! org
[Download RAW message or body]
Git commit 7c5169e2d267dd6fd8aee6b4738c2d0213f470a2 by Ralf Engels.
Committed on 01/02/2015 at 19:26.
Pushed by rengels into branch 'master'.
Fix: Problem with the album play option
Fix issue caused by missing initialization of member variable
BUG: 324030
M +3 -2 src/dynamic/biases/AlbumPlayBias.cpp
http://commits.kde.org/amarok/7c5169e2d267dd6fd8aee6b4738c2d0213f470a2
diff --git a/src/dynamic/biases/AlbumPlayBias.cpp b/src/dynamic/biases/Albu=
mPlayBias.cpp
index bff7a95..f3e9740 100644
--- a/src/dynamic/biases/AlbumPlayBias.cpp
+++ b/src/dynamic/biases/AlbumPlayBias.cpp
@@ -52,6 +52,7 @@ Dynamic::AlbumPlayBiasFactory::createBias()
=
=
Dynamic::AlbumPlayBias::AlbumPlayBias()
+ : m_follow( DirectlyFollow )
{ }
=
void
@@ -128,8 +129,8 @@ Dynamic::AlbumPlayBias::widget( QWidget* parent )
switch( m_follow )
{
case DirectlyFollow: combo->setCurrentIndex(0); break;
- case Follow: combo->setCurrentIndex(0); break;
- case DontCare: combo->setCurrentIndex(0); break;
+ case Follow: combo->setCurrentIndex(1); break;
+ case DontCare: combo->setCurrentIndex(2); break;
}
connect( combo, SIGNAL(currentIndexChanged(int)),
this, SLOT(selectionChanged(int)) );
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic