Fix potential bug in hack
Fix potential bug in hack

The remove isn't in a Q_ASSERT, so now the EscapeFilter won't end
up in the queue twice if asserts are disabled.

leonhandreke/ktp-common-internals,KDE/ktp-common-internals,leonhandreke/ktp-common-internals,KDE/ktp-common-internals,KDE/ktp-common-internals,leonhandreke/ktp-common-internals