Fix cpu usage spiking after showing vi command bar

Authored by sandsmark on Jul 1 2017, 11:45 AM.

Description

Fix cpu usage spiking after showing vi command bar

With Qt 5.9 (at least), QCoreApplication::hasPendingEvents() (which is
already marked as obsolete) seems to unconditionally return true, at
least here. The looping didn't make sense at all anyways.

REVIEW: 130168
BUG: 376504

Details

Committed
sandsmarkJul 1 2017, 4:37 PM
Parents
R39:dfafd429c71e: GIT_SILENT Upgrade ECM and KF5 version requirements for 5.36.0 release.
Branches
Unknown
Tags
Unknown