From 7efb970dbd7fdadca3a3332317780d8f3e003d7e Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Sun, 30 Apr 2006 05:59:20 +0000 Subject: [PATCH] removed deprecated QTextStream functions svn path=/trunk/KDE/kdebase/apps/konsole/; revision=535667 --- settings/schemaeditor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/settings/schemaeditor.cpp b/settings/schemaeditor.cpp index b679d77ca..b68a18912 100644 --- a/settings/schemaeditor.cpp +++ b/settings/schemaeditor.cpp @@ -374,7 +374,7 @@ void SchemaEditor::saveCurrent() QFile f(fullpath); if (f.open(QIODevice::WriteOnly)) { QTextStream t(&f); - t.setEncoding( QTextStream::UnicodeUTF8 ); + t.setCodec( "UTF-8" ); t << "# schema for konsole autogenerated with the schema editor" << endl; t << endl;