Skip to content
Commit b8f64ca3 authored by Frank Reininghaus's avatar Frank Reininghaus
Browse files

Consider two KFileItems 'equal' if they share the same URL

Up to now, KFileItem::operator==(const KFileItem&) only returned true if
both items shared the same d pointer. However, the implicitly shared
d pointer is an implementation detail of the class, and making the
comparison depend on it might not be expected by the developer using the
class. Fixes a problem in Dolphin, where the unexpected outcome of the
comparison caused permanent high CPU usage.

CCBUG: 304986
parent c78c1397
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