Richard Heck wrote:
Jürgen Spitzmüller wrote:
Richard Heck wrote:
By the way, look at TocWidget::setTocModel(). It enables depthSL no
matter what. Shouldn't it be: depthSL->setEnabled(buttons_enabled)?
Should reconnectSelectionModel() be called there if buttons_enabled =
false? Unfortunately, changing the former by itself doesn't solve the
problem.
But you were on the right track. The attached patch fixes the problem for me.
John, could you please verify that?
The thing I don't understand is why I'd only get the loop sometimes. Not every time. Anyway, I'm glad not to have to worry about this any more.
This is an unknown bug in qt, right?  My guess is that there is indeed
a loop somewhere, that uses an uninitialized variable.

That will give you a delay loop of variable length. Often it will look like a hang,
with the loop counting all the way to MAXINT, possibly calling into X
for every iteration. But sometimes the uninitialized variable will be close to the stop condition,
and it will feel like no delay at all.

Helge Hafting


Reply via email to