Commit 350a5d8d authored by Mario Bensi's avatar Mario Bensi
Browse files

Fix solid test

I need to detach parent on QFileSystemWatcher when the FstabWatcher
destructor are called if the aboutToQuit is not called. It's the case in
test.
parent 368fe9ff
......@@ -56,7 +56,11 @@ FstabWatcher::~FstabWatcher()
// For the moment to workaround the problem, we detach the QFileSystemWatcher from the parent
// effectively leaking it on purpose.
#if 0
//qRemovePostRoutine(globalFstabWatcher.destroy);
#else
m_fileSystemWatcher->setParent(0);
#endif
}
void FstabWatcher::orphanFileSystemWatcher()
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment