diff --git a/libsearch/file-utils.cpp b/libsearch/file-utils.cpp index 5d8852e..6e9bacb 100644 --- a/libsearch/file-utils.cpp +++ b/libsearch/file-utils.cpp @@ -557,13 +557,13 @@ void FileUtils::getTxtContent(QString &path, QString &textcontent) uchardet_data_end(chardet); const char *codec = uchardet_get_charset(chardet); - uchardet_delete(chardet); if(QTextCodec::codecForName(codec) == 0) - qWarning()<<"Unsupported Text encoding format"<