Changeset 18
- Timestamp:
- 12/31/07 11:10:22 (4 years ago)
- Location:
- gui
- Files:
-
- 3 edited
-
main_window.cpp (modified) (1 diff)
-
main_window.h (modified) (2 diffs)
-
musiclibrarymodel.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
gui/main_window.cpp
r17 r18 18 18 } 19 19 20 libraryTreeView->setModel(&musicLibraryModel); 20 libraryProxyModel.setSourceModel(&musicLibraryModel); 21 libraryTreeView->setModel(&libraryProxyModel); 22 libraryTreeView->sortByColumn(0, Qt::AscendingOrder); 21 23 22 24 playlistTableView->setModel(&playlistModel); -
gui/main_window.h
r17 r18 3 3 4 4 #include <QMainWindow> 5 #include <QSortFilterProxyModel> 5 6 #include <QTimer> 6 7 … … 25 26 PlaylistTableModel playlistModel; 26 27 MusicLibraryModel musicLibraryModel; 28 QSortFilterProxyModel libraryProxyModel; 27 29 bool slidingVolume; 28 30 -
gui/musiclibrarymodel.cpp
r17 r18 95 95 96 96 delete items; 97 98 reset(); 97 99 }
Note: See TracChangeset
for help on using the changeset viewer.
