diff options
| author | 2014-11-21 14:34:32 +0000 | |
|---|---|---|
| committer | 2014-11-21 14:34:32 +0000 | |
| commit | 43e0468a233a49b1010f34c5ce888204fa4e9416 (patch) | |
| tree | b1f97b1b9fdfc72677b935d34e26c70fa7030feb /src/kvilib/file/KviFileUtils.cpp | |
| parent | Trivial typo (diff) | |
| download | KVIrc-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/kvilib/file/KviFileUtils.cpp')
| -rw-r--r-- | src/kvilib/file/KviFileUtils.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/kvilib/file/KviFileUtils.cpp b/src/kvilib/file/KviFileUtils.cpp index 690a31e50..3d0f762c6 100644 --- a/src/kvilib/file/KviFileUtils.cpp +++ b/src/kvilib/file/KviFileUtils.cpp @@ -39,7 +39,7 @@ namespace KviFileUtils { static char cHexChars[16] = { '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F' }; - + /* WORKING CODE BUT UNUSED FOR NOW bool readLine(QFile * f,QString &szBuffer,bool bClearBuffer) @@ -260,14 +260,14 @@ namespace KviFileUtils // just to be sure check that we're not deleting .. if(KviQString::equalCS(inf.fileName(),"..") || KviQString::equalCS(inf.fileName(),".")) continue; - + if(inf.isDir()) { if(!deleteDir(inf.absoluteFilePath())) return false; continue; } - + if(!KviFileUtils::removeFile(inf.absoluteFilePath())) { qDebug("Failed to remove file %s",inf.absoluteFilePath().toUtf8().data()); |
