aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/help/HelpIndex.cpp
diff options
context:
space:
mode:
authorGravatar Robert Förster2014-11-21 14:34:32 +0000
committerGravatar Robert Förster2014-11-21 14:34:32 +0000
commit43e0468a233a49b1010f34c5ce888204fa4e9416 (patch)
treeb1f97b1b9fdfc72677b935d34e26c70fa7030feb /src/modules/help/HelpIndex.cpp
parentTrivial typo (diff)
downloadKVIrc-43e0468a233a49b1010f34c5ce888204fa4e9416.tar.gz
KVIrc-43e0468a233a49b1010f34c5ce888204fa4e9416.tar.bz2
KVIrc-43e0468a233a49b1010f34c5ce888204fa4e9416.zip
- massive trailing whitespace cleanup (yes, one of these "you can hate me for that" commits)
- apply patch by d00p: show the correct protocol version instead of just "SSLv3/TLSv1", thanks! - fix compilation on qt 5.4 on windows git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@6398 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules/help/HelpIndex.cpp')
-rw-r--r--src/modules/help/HelpIndex.cpp6
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()