Skip to content

Commit

Permalink
Remove not necessary code
Browse files Browse the repository at this point in the history
autoDelete has default value false
  • Loading branch information
mhtvsSFrpHdE committed Aug 8, 2022
1 parent 5bd5e88 commit 6d6db46
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions qpp/prefetch/Source/Core/read_file.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -145,13 +145,6 @@ void ReadFile::start()
void ReadFile::start_createReadFileThread_ququeThread(QString filePath)
{
auto readThread = new ReadThread(filePath);

auto rescanInterval = Setting::getInt("Thread", "RescanInterval", Setting::setting);
if (rescanInterval.success && rescanInterval.result > 0)
{
readThread->setAutoDelete(false);
}

ReadFile::readThreadQueue.append(readThread);
}

Expand Down

0 comments on commit 6d6db46

Please sign in to comment.