[Solved] How to tell if QListWidget is empty
I've looked through the Qt Documentation, but can't seem to find a way to tell if a QListWidget is empty. Is there a way to do so, and, if so, how?
I really do spot a count property... I wonder what that does...
Thanks! I completely missed that.
You could check "count() == 0":http://doc.qt.nokia.com/4.7/qlistwidget.html#count-prop