Use collection settings for group by settings

This commit is contained in:
Jonas Kvinge 2020-09-12 15:48:26 +02:00
parent d668a8aee2
commit e3a9b0b943

View File

@ -619,7 +619,7 @@ MainWindow::MainWindow(Application *app, SystemTrayIcon *tray_icon, OSDBase *osd
QAction *collection_config_action = new QAction(IconLoader::Load("configure"), tr("Configure collection..."), this); QAction *collection_config_action = new QAction(IconLoader::Load("configure"), tr("Configure collection..."), this);
connect(collection_config_action, SIGNAL(triggered()), SLOT(ShowCollectionConfig())); connect(collection_config_action, SIGNAL(triggered()), SLOT(ShowCollectionConfig()));
collection_view_->filter()->SetSettingsGroup(kSettingsGroup); collection_view_->filter()->SetSettingsGroup(CollectionSettingsPage::kSettingsGroup);
collection_view_->filter()->SetCollectionModel(app_->collection()->model()); collection_view_->filter()->SetCollectionModel(app_->collection()->model());
QAction *separator = new QAction(this); QAction *separator = new QAction(this);