[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [Amarok]  Don't make Navigator publicly accessible
From:       Soren Harward <stharward () gmail ! com>
Date:       2010-02-10 18:36:07
Message-ID: 201002101836.o1AIa7S1018969 () kore ! kollide ! net
[Download RAW message or body]

commit 2d41aca555be6830e321362b3a89ddb10dc1d834
Author:     Soren Harward <stharward@gmail.com>
AuthorDate: Wed Feb 10 13:30:23 2010 -0500
Commit:     Soren Harward <stharward@gmail.com>
CommitDate: Wed Feb 10 13:33:08 2010 -0500

    Don't make Navigator publicly accessible
    
    There's really no reason whatsoever that anything besides
    PlaylistActions should be interacting directly with a Navigator.

diff --git a/src/playlist/PlaylistActions.h b/src/playlist/PlaylistActions.h
index b2c331c..d1d7f94 100644
--- a/src/playlist/PlaylistActions.h
+++ b/src/playlist/PlaylistActions.h
@@ -96,9 +96,6 @@ public:
      */
     void normalizeDynamicPlayist();
 
-    /** returns the navigator currently in use, can be 0 */
-    inline const TrackNavigator *navigator() const { return m_navigator; }
-
     // This shouldn't be in Actions, it doesn't make sense
     int queuePosition( quint64 id );
 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic