From kde-commits Wed Mar 26 06:32:22 2003 From: Richard Smith Date: Wed, 26 Mar 2003 06:32:22 +0000 To: kde-commits Subject: kdenonbeta/kopete/libkopete/ui X-MARC-Message: https://marc.info/?l=kde-commits&m=104866044417750 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 ;) }