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

List:       kde-commits
Subject:    kdenonbeta/amarok/amarok
From:       Mark Kretschmann <markey () web ! de>
Date:       2003-12-01 14:19:05
[Download RAW message or body]

CVS commit by markey: 

Remove Qt 3.2 depending code.


  M +8 -8      playlistwidget.cpp   1.44


--- kdenonbeta/amarok/amarok/playlistwidget.cpp  #1.43:1.44
@@ -58,11 +58,11 @@
 // CLASS PlaylistWidget --------------------------------------------------------
 
-PlaylistWidget::PlaylistWidget( QWidget *parent, const char *name ) :
-        KListView( parent, name ),
-        m_rootPixmap( viewport() ),
-        m_GlowTimer( new QTimer( this ) ),
-        m_GlowCount( 100 ),
-        m_GlowAdd( 5 ),
-        m_undoCounter( 0 )
+PlaylistWidget::PlaylistWidget( QWidget *parent, const char *name )
+    : KListView( parent, name )
+    , m_rootPixmap( viewport() )
+    , m_GlowTimer( new QTimer( this ) )
+    , m_GlowCount( 100 )
+    , m_GlowAdd( 5 )
+    , m_undoCounter( 0 )
 {
     kdDebug() << "PlaylistWidget::PlaylistWidget()" << endl;
@@ -374,5 +374,5 @@ bool PlaylistWidget::loadPlaylist( KURL 
     PlaylistItem *pCurr = static_cast<PlaylistItem*>( destination );
 
-    if ( url.url().endsWith( ".m3u", false ) || url.url().endsWith( ".pls", false ) )
+    if ( url.url().lower().endsWith( ".m3u" ) || url.url().lower().endsWith( ".pls" ) )
     {
         if ( url.isLocalFile() )


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

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