Add this
Qt Code:
{ if(parent.isValid()) return 0; return mFiles.size(); }To copy to clipboard, switch view to plain text mode
also do the corresponding changes in parent() and index()
Add this
Qt Code:
{ if(parent.isValid()) return 0; return mFiles.size(); }To copy to clipboard, switch view to plain text mode
also do the corresponding changes in parent() and index()
When you know how to do it then you may do it wrong.
When you don't know how to do it then it is not that you may do it wrong but you may not do it right.
Bookmarks