[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: extragear/multimedia/amarok/src
From: Mark Kretschmann <kretschmann () kde ! org>
Date: 2009-07-15 8:23:02
Message-ID: 1247646182.493575.461.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 996934 by markey:
These were probably supposed to be const references.
M +1 -1 browsers/BrowserCategory.h
M +1 -1 browsers/collectionbrowser/CollectionWidget.cpp
M +1 -1 browsers/collectionbrowser/CollectionWidget.h
M +1 -1 services/ServiceBase.cpp
M +1 -1 services/ServiceBase.h
--- trunk/extragear/multimedia/amarok/src/browsers/BrowserCategory.h #996933:996934
@@ -107,7 +107,7 @@
virtual QList<int> levels() const { return QList<int>(); }
virtual void setFilter( const QString &filter ) { Q_UNUSED( filter ) };
- virtual void setLevels( const QList<int> levels ) { Q_UNUSED( levels ) };
+ virtual void setLevels( const QList<int> &levels ) { Q_UNUSED( levels ) };
public slots:
void activate();
--- trunk/extragear/multimedia/amarok/src/browsers/collectionbrowser/CollectionWidget.cpp #996933:996934
@@ -362,7 +362,7 @@
return m_treeView->levels();
}
-void CollectionWidget::setLevels( QList<int> levels )
+void CollectionWidget::setLevels( const QList<int> &levels )
{
m_levels.clear();
m_levels = levels;
--- trunk/extragear/multimedia/amarok/src/browsers/collectionbrowser/CollectionWidget.h #996933:996934
@@ -55,7 +55,7 @@
void slotShowYears( bool checked );
void slotShowCovers( bool checked );
- void setLevels( QList<int> levels );
+ void setLevels( const QList<int> &levels );
private:
SearchWidget *m_searchWidget;
--- trunk/extragear/multimedia/amarok/src/services/ServiceBase.cpp #996933:996934
@@ -330,7 +330,7 @@
return QList<int>();
}
-void ServiceBase::setLevels( QList< int > levels )
+void ServiceBase::setLevels( const QList<int> &levels )
{
if( m_useCollectionTreeView ) {
if( ServiceCollectionTreeView* view = dynamic_cast<ServiceCollectionTreeView*>(m_contentView) )
--- trunk/extragear/multimedia/amarok/src/services/ServiceBase.h #996933:996934
@@ -292,7 +292,7 @@
*/
void sortByGenreArtistAlbum();
- void setLevels( QList<int> levels );
+ void setLevels( const QList<int> &levels );
signals:
/**
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic