From 9a21014ee9a7323e08b1e671da0644d596f806c9 Mon Sep 17 00:00:00 2001 From: Kevin Ottens Date: Mon, 25 Jan 2010 09:10:28 +0000 Subject: [PATCH] Make it build with QT_STRICT_ITERATORS. svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1079860 --- src/tests/DBusTest.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/tests/DBusTest.cpp b/src/tests/DBusTest.cpp index d8a1c50a..2d539765 100644 --- a/src/tests/DBusTest.cpp +++ b/src/tests/DBusTest.cpp @@ -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))