diff --git a/src/data/logfiltereddata.cpp b/src/data/logfiltereddata.cpp index f99f43afd..269ec015d 100644 --- a/src/data/logfiltereddata.cpp +++ b/src/data/logfiltereddata.cpp @@ -24,7 +24,6 @@ #include "log.h" #include -#include #include #include "utils.h" @@ -45,7 +44,6 @@ LogFilteredData::LogFilteredData() : AbstractLogData(), /* Prevent any more searching */ maxLength_ = 0; maxLengthMarks_ = 0; - searchDone_ = true; visibility_ = MarksAndMatches; filteredItemsCacheDirty_ = true; @@ -68,8 +66,6 @@ LogFilteredData::LogFilteredData( const LogData* logData ) sourceLogData_ = logData; - searchDone_ = false; - visibility_ = MarksAndMatches; filteredItemsCacheDirty_ = true; @@ -280,7 +276,6 @@ void LogFilteredData::handleSearchProgressed( int nbMatches, int progress, qint6 LOG(logDEBUG) << "LogFilteredData::handleSearchProgressed matches=" << nbMatches << " progress=" << progress; - // searchDone_ = true; workerThread_.getSearchResult( &maxLength_, &matching_lines_, &nbLinesProcessed_ ); filteredItemsCacheDirty_ = true; diff --git a/src/data/logfiltereddata.h b/src/data/logfiltereddata.h index 4c09f9479..a7c82277c 100644 --- a/src/data/logfiltereddata.h +++ b/src/data/logfiltereddata.h @@ -140,7 +140,6 @@ class LogFilteredData : public AbstractLogData { const LogData* sourceLogData_; QRegularExpression currentRegExp_; - bool searchDone_; int maxLength_; int maxLengthMarks_; // Number of lines of the LogData that has been searched for: