[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdepim/incidenceeditors/incidenceeditor-ng
From: Bertjan Broeksema <broeksema () kde ! org>
Date: 2010-07-07 10:58:06
Message-ID: 20100707105806.E0E50AC8E6 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1147070 by bbroeksema:
Fix QString issues reported by krazy
M +2 -1 incidencedatetime.cpp
M +1 -1 incidencerecurrence.cpp
--- trunk/KDE/kdepim/incidenceeditors/incidenceeditor-ng/incidencedatetime.cpp #1147069:1147070
@@ -293,7 +293,8 @@
}
#ifndef KDEPIM_MOBILE_UI
- setTimeZonesVisibility( !wholeDayChecked && mUi->mTimeZoneLabel->text().startsWith( "<<" ) );
+ setTimeZonesVisibility( !wholeDayChecked &&
+ mUi->mTimeZoneLabel->text().startsWith( QLatin1String( "<<" ) ) );
#endif
}
--- trunk/KDE/kdepim/incidenceeditors/incidenceeditor-ng/incidencerecurrence.cpp #1147069:1147070
@@ -566,7 +566,7 @@
{
QString result = QString::number( number );
if ( result.endsWith( '1' ) ) {
- if ( result.endsWith( "11" ) ) {
+ if ( result.endsWith( QLatin1String( "11" ) ) ) {
return "th";
} else {
return result + "st";
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic