From 56615bd8a18767cb4697acff8bd6d342b8df8a35 Mon Sep 17 00:00:00 2001 From: Pino Toscano Date: Tue, 9 May 2006 21:10:09 +0000 Subject: [PATCH] single character QString -> char svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=539170 --- extdate/extdatetime.cpp | 4 ++-- kdeeduui/kdeeduglossary.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/extdate/extdatetime.cpp b/extdate/extdatetime.cpp index bb67b91..7e33328 100644 --- a/extdate/extdatetime.cpp +++ b/extdate/extdatetime.cpp @@ -789,7 +789,7 @@ QString ExtDateTime::toString( Qt::DateFormat f ) const return QString(); if ( f == Qt::ISODate ) { - return d.toString( Qt::ISODate ) + "T" + t.toString( Qt::ISODate ); + return d.toString( Qt::ISODate ) + 'T' + t.toString( Qt::ISODate ); } #ifndef QT_NO_TEXTDATE else if ( f == Qt::TextDate ) { @@ -798,7 +798,7 @@ QString ExtDateTime::toString( Qt::DateFormat f ) const #endif else if ( f == Qt::LocalDate ) { return toString( KGlobal::locale()->dateFormat() - + " " + KGlobal::locale()->timeFormat() ); + + ' ' + KGlobal::locale()->timeFormat() ); } return QString(); diff --git a/kdeeduui/kdeeduglossary.cpp b/kdeeduui/kdeeduglossary.cpp index 2b9637c..725ee83 100644 --- a/kdeeduui/kdeeduglossary.cpp +++ b/kdeeduui/kdeeduglossary.cpp @@ -123,7 +123,7 @@ void Glossary::fixImagePath() kDebug() << "Glossary::fixImagePath()" << endl; QList::iterator it = m_itemlist.begin(); const QList::iterator itEnd = m_itemlist.end(); - QString imgtag = ""; + QString imgtag = ""; QRegExp exp( "\\[img\\]([^[]+)\\[/img\\]" ); for ( ; it != itEnd ; ++it ) -- 2.47.3