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

List:       kde-commits
Subject:    kdenonbeta/kopete/libkopete/ui
From:       Richard Smith <kde () metafoo ! co ! uk>
Date:       2003-03-26 6:32:22
[Download RAW message or body]

CVS commit by lilachaze: 

Save XML, not HTML, when saving contents of a chat view


  M +2 -2      chatview.cpp   1.226


--- kdenonbeta/kopete/libkopete/ui/chatview.cpp  #1.225:1.226
@@ -228,5 +228,5 @@ void ChatView::slotScrollPressed()
 void ChatView::save()
 {
-        QString fileName = KFileDialog::getSaveFileName ( QString::null, \
QString::fromLatin1( "text/html" ), +        QString fileName = \
KFileDialog::getSaveFileName ( QString::null, QString::fromLatin1( "text/xml" ),  \
this, i18n( "Save Conversation" ) );  
@@ -238,5 +238,5 @@ void ChatView::save()
         {
                 QTextStream stream ( &file );
-                stream << viewsText(); // text() is full-featured html
+                stream << xmlDoc.toString();
                 file.close(); // maybe unneeded but I like to close opened files ;)
         }


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

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