Commit d4a235d4 authored by David Redondo's avatar David Redondo 🏎
Browse files

Do not return early if nothing changed

We still need to update the history even if it has the same value as before.
Should fix the unit test on FreeBSD.
parent f0b89c98
......@@ -765,9 +765,6 @@ void ProcessModelPrivate::processChanged(KSysGuard::Process *process, bool onlyT
}
return;
} else {
if(process->changes() == KSysGuard::Process::Nothing) {
return; //Nothing changed
}
if(process->changes() & KSysGuard::Process::Uids) {
totalUpdated++;
QModelIndex index = q->createIndex(row, ProcessModel::HeadingUser, process);
......
Markdown is supported
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