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

List:       kde-commits
Subject:    extragear/multimedia/amarok/src
From:       Seb Ruiz <ruiz () kde ! org>
Date:       2007-08-23 11:48:05
Message-ID: 1187869685.821690.2984.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 703819 by seb:

warnings--


 M  +1 -1      coverfetcher.h  
 M  +1 -0      playlist/PlaylistGraphicsItem.cpp  
 M  +2 -0      playlist/PlaylistGraphicsView.cpp  
 M  +3 -0      playlist/PlaylistModel.cpp  


--- trunk/extragear/multimedia/amarok/src/coverfetcher.h #703818:703819
@@ -12,7 +12,7 @@
 
 
 namespace Amarok {
-    void coverContextMenu(  QWidget *parent, QPoint point, const QString &artist, \
const QString &album, bool showCoverManager = true ); +    void coverContextMenu( \
QWidget *parent, QPoint point, const QString &artist, const QString &album, bool \
showCoverManager = true );  }
 
 class KJob;
--- trunk/extragear/multimedia/amarok/src/playlist/PlaylistGraphicsItem.cpp \
#703818:703819 @@ -85,6 +85,7 @@
 void 
 PlaylistNS::GraphicsItem::paint( QPainter* painter, const QStyleOptionGraphicsItem* \
option, QWidget* widget )  {
+    Q_UNUSED( painter ); Q_UNUSED( widget );
     const int row = getRow();
     const QModelIndex index = The::playlistModel()->index( row, 0 );
     if( not m_items || ( option->rect.width() != m_items->lastWidth ) )
--- trunk/extragear/multimedia/amarok/src/playlist/PlaylistGraphicsView.cpp \
#703818:703819 @@ -30,6 +30,7 @@
 void
 PlaylistNS::GraphicsView::rowsInserted( const QModelIndex& parent, int start, int \
end )  {
+    Q_UNUSED( parent );
     for( int i = start; i <= end; i++ )
     {
         PlaylistNS::GraphicsItem* item = new PlaylistNS::GraphicsItem();
@@ -42,6 +43,7 @@
 void
 PlaylistNS::GraphicsView::rowsRemoved(const QModelIndex& parent, int start, int end \
)  {
+    Q_UNUSED( parent );
     for( int i = end; i >= start; i-- )
         delete m_tracks.takeAt( i );
 }
--- trunk/extragear/multimedia/amarok/src/playlist/PlaylistModel.cpp #703818:703819
@@ -379,6 +379,7 @@
 bool
 Model::saveM3U( const QString &path, bool relative ) const
 {
+    Q_UNUSED( path ); Q_UNUSED( relative );
 //     Q3ValueList<KUrl> urls;
 //     Q3ValueList<QString> titles;
 //     Q3ValueList<int> lengths;
@@ -424,6 +425,7 @@
 bool
 Model::dropMimeData ( const QMimeData * data, Qt::DropAction action, int row, int \
column, const QModelIndex & parent ) //reimplemented  {
+    Q_UNUSED( column ); Q_UNUSED( parent );
     DEBUG_BLOCK
 
     if( action == Qt::IgnoreAction )
@@ -499,6 +501,7 @@
     {
         int oldActiveRow = m_activeRow;
         m_activeRow += list.size();
+        Q_UNUSED( oldActiveRow );
         //dataChanged( createIndex( oldActiveRow, 0 ), createIndex( oldActiveRow, \
                columnCount() -1 ) );
         //dataChanged( createIndex( m_activeRow, 0 ), createIndex( m_activeRow, \
columnCount() -1 ) );  }


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

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