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

List:       kde-commits
Subject:    [kdepimlibs] akonadi/notes: compile fix
From:       Andreas Holzammer <andreas.holzammer () kdab ! com>
Date:       2011-09-01 15:18:37
Message-ID: 20110901151837.B02B1A6078 () git ! kde ! org
[Download RAW message or body]

Git commit 38bf7f6555053ec8da5d49059f05fe1bbc6addd3 by Andreas Holzammer.
Committed on 01/09/2011 at 17:18.
Pushed by aholzammer into branch 'master'.

compile fix

M  +1    -1    akonadi/notes/noteutils.cpp

http://commits.kde.org/kdepimlibs/38bf7f6555053ec8da5d49059f05fe1bbc6addd3

diff --git a/akonadi/notes/noteutils.cpp b/akonadi/notes/noteutils.cpp
index 5d50973..89b705c 100644
--- a/akonadi/notes/noteutils.cpp
+++ b/akonadi/notes/noteutils.cpp
@@ -45,7 +45,7 @@ class NoteMessageWrapper::NoteMessageWrapperPrivate
         text = msg->mainBodyPart()->decodedText( true ); //remove trailing \
whitespace, so we get rid of "  " in empty notes  from = msg->from( false \
)->asUnicodeString();  creationDate = msg->date( true )->dateTime();
-        if ( msg->contentType( false )->asUnicodeString() == "text/html" ) {
+        if ( msg->contentType( false )->asUnicodeString() == \
QLatin1String("text/html") ) {  textFormat = Qt::RichText;
         }
       } else {


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

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