[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [Amarok] 485ad1c: Remove some stuff that I added when trying to fix
From: Nikolaj Hald Nielsen <nhnFreespirit () gmail ! com>
Date: 2010-05-16 11:06:03
Message-ID: 201005161106.o4GB63A5016111 () kore ! kollide ! net
[Download RAW message or body]
commit 485ad1c36e1d600b8c08b27b8925aa945e35276f
Author: Nikolaj Hald Nielsen <nhnFreespirit@gmail.com>
Date: Sun May 16 13:06:40 2010 +0200
Remove some stuff that I added when trying to fix a bug but which later became \
redundant (and it causes nasty warnings...)
diff --git a/src/browsers/filebrowser/FileView.cpp \
b/src/browsers/filebrowser/FileView.cpp index 6c5b2ad..39dd41e 100644
--- a/src/browsers/filebrowser/FileView.cpp
+++ b/src/browsers/filebrowser/FileView.cpp
@@ -446,12 +446,7 @@ FileView::tracksForEdit() const
return tracks;
foreach( const QModelIndex& index, indices )
- {
- //yes, the spaces in the string are supposed to be there... Yes, that is
- //quite strange. No, I have no idea why they are there...
- if( index.data( KDirModel::FileItemRole ).typeName() != " KFileItem " )
- return tracks;
-
+ {
KFileItem item = index.data( KDirModel::FileItemRole ).value<KFileItem>();
Meta::TrackPtr track = CollectionManager::instance()->trackForUrl( \
item.url() ); if( track )
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic