[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdetoys/kweather
From: Raphael Kubo da Costa <kubito () gmail ! com>
Date: 2009-05-11 2:20:34
Message-ID: 1242008434.857545.19839.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 966342 by rkcosta:
Use QLatin1String inside endsWith to make Krazy happy.
M +2 -1 serviceconfigwidget.cpp
--- trunk/KDE/kdetoys/kweather/serviceconfigwidget.cpp #966341:966342
@@ -23,6 +23,7 @@
#include <Qt3Support/Q3Header>
#include <QtGui/QPixmap>
#include <QtCore/QByteArray>
+#include <QtCore/QLatin1String>
#include <kconfig.h>
#include <kdialog.h>
@@ -226,7 +227,7 @@
for ( int i = 0; i < list.count(); ++i ) {
if ( inName ) {
- if ( list[ i ].endsWith( "\\" ) ) {
+ if ( list[ i ].endsWith( QLatin1String( "\\" ) ) ) {
name.append( list[ i ].replace( "\\", " " ) );
} else {
name.append( list[ i ] );
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic