Commit 9a21014e authored by Kevin Ottens's avatar Kevin Ottens

Make it build with QT_STRICT_ITERATORS.

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1079860
parent 762b0eea
......@@ -39,8 +39,8 @@ void DBusTest::initTestCase()
// Find all current Konsoles' services running
QStringList allServices = serviceReply;
for (QStringList::const_iterator it = allServices.begin(),
end = allServices.end(); it != end; ++it) {
for (QStringList::const_iterator it = allServices.constBegin(),
end = allServices.constEnd(); it != end; ++it) {
const QString service = *it;
if (service.startsWith(interfaceName))
konsoleServices << service;
......@@ -64,8 +64,8 @@ void DBusTest::initTestCase()
// Find dbus service of above Konsole
allServices = serviceReply;
for (QStringList::const_iterator it = allServices.begin(),
end = allServices.end(); it != end; ++it) {
for (QStringList::const_iterator it = allServices.constBegin(),
end = allServices.constEnd(); it != end; ++it) {
const QString service = *it;
if (service.startsWith(interfaceName))
if (!konsoleServices.contains(service))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment