[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdelibs/solid/solid/backends/hal
From: Kevin Ottens <ervin () kde ! org>
Date: 2008-07-23 18:29:36
Message-ID: 1216837776.473850.14241.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 837080 by ervin:
Forgot some constness, well spotted by Pino.
M +2 -2 halmanager.cpp
--- trunk/KDE/kdelibs/solid/solid/backends/hal/halmanager.cpp #837079:837080
@@ -120,10 +120,10 @@
QStringList result = findDeviceStringMatch("info.parent", parentUdi);
if (type!=Solid::DeviceInterface::Unknown) {
- QStringList matches = result;
+ const QStringList matches = result;
result.clear();
- foreach (QString match, matches) {
+ foreach (const QString &match, matches) {
HalDevice device(match);
if (device.queryDeviceInterface(type)) {
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic