I am using QSortFilterProxyModel in QTreeView for exploring all the files and folders of a directory on MAC systems. Its working fine. but my problem is, In my Qtreeview, .app files also behaves like folders. means .app files also have an expansion arrow just like folders. I want to remove this expansion arrow. Thanks.
Asked
Active
Viewed 127 times
-1
-
.app "files" on Mac ARE folders. They are just displayed as one opaque application by Finder (and can be expanded via the context menu item "Show package contents"). – ChrAfonso Nov 25 '13 at 11:14
-
i also want display them as one opaque application just like finder.what should i have to do this in my treeview. – Ashish Nov 25 '13 at 12:17
1 Answers
0
Detect the property list file and then you know it's a bundle, i.e. MyApp.app/Contents/Info.plist
.

koan
- 3,596
- 2
- 25
- 35