summaryrefslogtreecommitdiffstats
path: root/kioslave
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-15 07:08:51 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-15 07:08:51 +0000
commit9f81a0a5c8117f6bf05c46b2e2c85ee887c91f48 (patch)
treed76c42c960caf8e463923eb6ff0d7ae664b4077d /kioslave
parent6b7cc18b59dc59cde749d806078bfeeb0d08b342 (diff)
downloadtdebase-9f81a0a5c8117f6bf05c46b2e2c85ee887c91f48.tar.gz
tdebase-9f81a0a5c8117f6bf05c46b2e2c85ee887c91f48.zip
Fix Qt4 FTBFS
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1232030 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kioslave')
-rw-r--r--kioslave/media/libmediacommon/medium.h2
-rw-r--r--kioslave/media/mediaimpl.cpp6
2 files changed, 4 insertions, 4 deletions
diff --git a/kioslave/media/libmediacommon/medium.h b/kioslave/media/libmediacommon/medium.h
index a4847ba80..775e7af7d 100644
--- a/kioslave/media/libmediacommon/medium.h
+++ b/kioslave/media/libmediacommon/medium.h
@@ -27,7 +27,7 @@
class Medium
{
public:
- typedef TQValueList<const Medium> MList;
+ typedef TQValueList<Medium> MList;
static const uint ID = 0;
static const uint NAME = 1;
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)
{