diff options
Diffstat (limited to 'src/modules/help/HelpIndex.cpp')
| -rw-r--r-- | src/modules/help/HelpIndex.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/help/HelpIndex.cpp b/src/modules/help/HelpIndex.cpp index b1dd47e34..95d125cfe 100644 --- a/src/modules/help/HelpIndex.cpp +++ b/src/modules/help/HelpIndex.cpp @@ -196,7 +196,7 @@ QString HelpIndex::getCharsetForDocument(QFile *file) meta = meta.toLower(); QRegExp r(QLatin1String("charset=([^\"\\s]+)")); if (r.indexIn(meta) != -1) { - encoding = r.cap(1); + encoding = r.cap(1); } } @@ -284,13 +284,13 @@ void HelpIndex::writeDocumentList() return; QDataStream s( &f ); s << docList; - + QFile f1( docListFile+".titles" ); if ( !f1.open(QFile::WriteOnly ) ) return; QDataStream s1( &f1 ); s1 << titleList; - + } void HelpIndex::readDict() |
