Password manager tools like Keepassx offer an option to clear
the clipboard/selection after some time, e.g. 10 seconds,
after the password was copied to the clipboard. This works fine,
but unfortunately the password isn't removed from Klipper's
history. This is a great security risk, which may make the use
of password managers impossible.
This patch offers an option to remove the top history item if
Klipper::checkClipData was called, but actually there isn't any
data. This is the case, if QClipboard::clear was called (by
Keepassx), which does setMimeData(0, mode).