[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    [PyQt] Simple crash in QSplitter.moveSplitter(x, i)
From:       Patrick Stinson <patrickkidd () gmail ! com>
Date:       2014-10-29 22:52:19
Message-ID: C532DDED-9BE0-4A88-B6E1-C3308E71B56E () gmail ! com
[Download RAW message or body]

It appears that QSplitter.moveSplitter(int pos, int index) will crash if the second argument ‘index' is invalid. I imagine this is avoidable by checking the index against count() before calling?

Cheers!
_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic