[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdelibs/kinit
From: Carlo Segato <brandon.ml () gmail ! com>
Date: 2009-12-01 23:03:06
Message-ID: 1259708586.049528.9888.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 1057303 by segato:
':' is a char so use QLatin1Char instead of QLatin1String
M +2 -2 kinit_win.cpp
--- trunk/KDE/kdelibs/kinit/kinit_win.cpp #1057302:1057303
@@ -280,7 +280,7 @@
QDBusConnectionInterface *bus = connection.interface();
const QStringList services = bus->registeredServiceNames();
foreach(const QString &service, services) {
- if (service.startsWith(QLatin1String("org.freedesktop.DBus")) || \
service.startsWith(QLatin1String(':'))) + if \
(service.startsWith(QLatin1String("org.freedesktop.DBus")) || \
service.startsWith(QLatin1Char(':'))) continue;
fprintf(stderr, "%s \n", service.toLatin1().data());
}
@@ -292,7 +292,7 @@
QDBusConnectionInterface *bus = connection.interface();
const QStringList services = bus->registeredServiceNames();
foreach(const QString &service, services) {
- if (service.startsWith(QLatin1String("org.freedesktop.DBus")) || \
service.startsWith(QLatin1String(':'))) + if \
(service.startsWith(QLatin1String("org.freedesktop.DBus")) || \
service.startsWith(QLatin1Char(':'))) continue;
QDBusInterface *iface = new QDBusInterface(service,
QLatin1String("/MainApplication"),
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic