-rw-r--r-- | libopie/tododb.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libopie/tododb.cpp b/libopie/tododb.cpp index c486723..33fa177 100644 --- a/libopie/tododb.cpp +++ b/libopie/tododb.cpp | |||
@@ -45,6 +45,7 @@ public: | |||
45 | QFile file( name); | 45 | QFile file( name); |
46 | if( file.open(IO_WriteOnly ) ){ | 46 | if( file.open(IO_WriteOnly ) ){ |
47 | QTextStream stream(&file ); | 47 | QTextStream stream(&file ); |
48 | stream.setEncoding( QTextStream::UnicodeUTF8 ); | ||
48 | stream << "<!DOCTYPE Tasks>" << endl; | 49 | stream << "<!DOCTYPE Tasks>" << endl; |
49 | tasks->save(stream ); | 50 | tasks->save(stream ); |
50 | delete tasks; | 51 | delete tasks; |