diff options
author | Owen Williams <owilliams@mixxx.org> | 2014-12-07 15:26:32 -0500 |
---|---|---|
committer | Owen Williams <owilliams@mixxx.org> | 2014-12-07 15:26:32 -0500 |
commit | 6b4c58cb41b8d24be823a5b2534922fbf3355ac9 (patch) | |
tree | c94470e9f7322ffa0754f940acb0f7bc7d6b7cc9 /src/library/banshee | |
parent | f3f687d863036394b03a1ac6bb54ba07b8fd162c (diff) |
Make sure to clear out all header states
Make most models inherit the default hidden-column settings.
Make column name / widths easy to set up.
Diffstat (limited to 'src/library/banshee')
-rw-r--r-- | src/library/banshee/bansheeplaylistmodel.cpp | 6 | ||||
-rw-r--r-- | src/library/banshee/bansheeplaylistmodel.h | 1 |
2 files changed, 0 insertions, 7 deletions
diff --git a/src/library/banshee/bansheeplaylistmodel.cpp b/src/library/banshee/bansheeplaylistmodel.cpp index 7b6a8f8b87..92fbc8c21e 100644 --- a/src/library/banshee/bansheeplaylistmodel.cpp +++ b/src/library/banshee/bansheeplaylistmodel.cpp @@ -375,9 +375,3 @@ bool BansheePlaylistModel::isColumnInternal(int column) { Q_UNUSED(column); return false; } - -// if no header state exists, we may hide some columns so that the user can reactivate them -bool BansheePlaylistModel::isColumnHiddenByDefault(int column) { - Q_UNUSED(column); - return false; -} diff --git a/src/library/banshee/bansheeplaylistmodel.h b/src/library/banshee/bansheeplaylistmodel.h index c793574216..535a79b0e4 100644 --- a/src/library/banshee/bansheeplaylistmodel.h +++ b/src/library/banshee/bansheeplaylistmodel.h @@ -22,7 +22,6 @@ class BansheePlaylistModel : public BaseSqlTableModel { virtual TrackPointer getTrack(const QModelIndex& index) const; virtual QString getTrackLocation(const QModelIndex& index) const; virtual bool isColumnInternal(int column); - virtual bool isColumnHiddenByDefault(int column); virtual Qt::ItemFlags flags(const QModelIndex &index) const; TrackModel::CapabilitiesFlags getCapabilities() const; |