<html><head><meta http-equiv="content-type" content="text/html; charset=UTF-8"/></head><body>I have attached a small sample PyQt program which works.<br>However, if you make the change mentioned in the comments, it crashes when you close it, and I don't understand
why.<br><br>The program has a QMainWindow which contains a statusbar, which
contains a toolbar, which contains a slider.<br><br>The only difference
between what works and what doesn't, is that the one that crashes has a main() function,
while the one that works does not.<br>
<br>
(The reason why the slider is inside a toolbar is because in the
application I am developing, I have some toolbar buttons along with
it.)<br>
<br>
Why does this make any difference? It seems very odd to me. Is this
a bug?<br>
<br>
-- Timothy<br>
<br>
P.S. I am running PyQt GPL v5.2.1 for Python v3.3 (x32) on Windows
8.1.</body></html>