[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [kdepim] kmail: Minor
From:       Montel Laurent <montel () kde ! org>
Date:       2011-09-22 7:59:45
Message-ID: 20110922075945.A6E42A607A () git ! kde ! org
[Download RAW message or body]

Git commit a5d11b69ab233ce23825164d3cb00d0f832a6bee by Montel Laurent.
Committed on 22/09/2011 at 09:59.
Pushed by mlaurent into branch 'master'.

Minor

M  +2    -2    kmail/configagentdelegate.cpp

http://commits.kde.org/kdepim/a5d11b69ab233ce23825164d3cb00d0f832a6bee

diff --git a/kmail/configagentdelegate.cpp b/kmail/configagentdelegate.cpp
index 9504e65..8c546d2 100644
--- a/kmail/configagentdelegate.cpp
+++ b/kmail/configagentdelegate.cpp
@@ -112,7 +112,7 @@ QTextDocument* ConfigAgentDelegate::document ( const \
QStyleOptionViewItem &optio  + QString::fromLatin1 (
                           "<tr>"
                           "<td><img src=\"status_icon\"/> %1 %2</td>"
-                          "</tr>" ).arg ( statusMessage ).arg ( status == 1 ? \
QString ( QLatin1String ( "(%1%)" ) ).arg ( progress ) : QLatin1String ( "" ) ) +     \
"</tr>" ).arg ( statusMessage ).arg ( status == 1 ? QString::fromLatin1( "(%1%)" \
).arg ( progress ) : QLatin1String ( "" ) )  + QLatin1String ( \
"</table></body></html>" );  
     document->setHtml ( content );
@@ -229,7 +229,7 @@ void ConfigAgentDelegate::drawFocus ( QPainter *painter, const \
QStyleOptionViewI  
 QStyleOptionButton ConfigAgentDelegate::buttonOption ( const QStyleOptionViewItem& \
option ) const  {
-    QString label = i18n( "Retrieval Options" );
+    const QString label = i18n( "Retrieval Options" );
     QStyleOptionButton buttonOpt;
     QRect buttonRect = option.rect;
     int height = option.rect.height() / 2;


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic