Fix CPU usage spiking after showing vi command bar
Review Request #130168 - Created July 1, 2017 and submitted
|Martin Tobias Holmedahl Sandsmark|
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.
Everything works just fine, and the CPU usage doesn't spike.