diff options
Diffstat (limited to 'archiveview.cpp')
-rw-r--r-- | archiveview.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/archiveview.cpp b/archiveview.cpp index 92fd83a..35eaeca 100644 --- a/archiveview.cpp +++ b/archiveview.cpp @@ -101,7 +101,7 @@ ArchiveView::ArchiveView(QWidget *parent) : QWidget(parent) { QHBoxLayout *bottomRightLayout = new QHBoxLayout; mActorView = new SmTreeView; mActorView->setHeaderHidden(true); - mActorModel = new SimpleModel(this); + mActorModel = new QStandardItemModel(this); mActorView->setModel(mActorModel); QGroupBox *actorBox = new QGroupBox(tr("Actors")); QHBoxLayout *actorLayout = new QHBoxLayout; @@ -110,7 +110,7 @@ ArchiveView::ArchiveView(QWidget *parent) : QWidget(parent) { mGenreView = new SmTreeView; mGenreView->setHeaderHidden(true); - mGenreModel = new SimpleModel(this); + mGenreModel = new QStandardItemModel(this); mGenreView->setModel(mGenreModel); QGroupBox *genreBox = new QGroupBox(tr("Genres")); QHBoxLayout *genreLayout = new QHBoxLayout; |