diff options
Diffstat (limited to 'kioslave/media/mediaimpl.cpp')
-rw-r--r-- | kioslave/media/mediaimpl.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kioslave/media/mediaimpl.cpp b/kioslave/media/mediaimpl.cpp index 5f5fa6747..1448a756c 100644 --- a/kioslave/media/mediaimpl.cpp +++ b/kioslave/media/mediaimpl.cpp @@ -140,12 +140,12 @@ bool MediaImpl::listMedia(TQValueList<KIO::UDSEntry> &list) return false; } - Medium::MList media = Medium::createList(reply); + const Medium::MList media = Medium::createList(reply); KIO::UDSEntry entry; - Medium::MList::iterator it = media.begin(); - Medium::MList::iterator end = media.end(); + Medium::MList::const_iterator it = media.begin(); + Medium::MList::const_iterator end = media.end(); for(; it!=end; ++it) { |