From 332ceb6265b8504ec0359e02ed1ca955dde0a903 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Sch=C3=BCrmann?= Date: Mon, 26 Mar 2018 23:16:41 +0200 Subject: Added "Edit Metadata" preferences function, replacing the related Load to deck feature --- src/library/dlganalysis.cpp | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'src/library/dlganalysis.cpp') diff --git a/src/library/dlganalysis.cpp b/src/library/dlganalysis.cpp index 52e27740a3..4ff4751be8 100644 --- a/src/library/dlganalysis.cpp +++ b/src/library/dlganalysis.cpp @@ -8,10 +8,10 @@ #include "library/dlganalysis.h" #include "util/assert.h" -DlgAnalysis::DlgAnalysis(QWidget* parent, +DlgAnalysis::DlgAnalysis(QWidget* pLibrary, UserSettingsPointer pConfig, TrackCollection* pTrackCollection) - : QWidget(parent), + : QWidget(pLibrary), m_pConfig(pConfig), m_pTrackCollection(pTrackCollection), m_bAnalysisActive(false), @@ -62,6 +62,13 @@ DlgAnalysis::DlgAnalysis(QWidget* parent, SIGNAL(selectionChanged(const QItemSelection &, const QItemSelection&)), this, SLOT(tableSelectionChanged(const QItemSelection &, const QItemSelection&))); + + connect(pLibrary, SIGNAL(setTrackTableFont(QFont)), + m_pAnalysisLibraryTableView, SLOT(setTrackTableFont(QFont))); + connect(pLibrary, SIGNAL(setTrackTableRowHeight(int)), + m_pAnalysisLibraryTableView, SLOT(setTrackTableRowHeight(int))); + connect(pLibrary, SIGNAL(setSelectedClick(bool)), + m_pAnalysisLibraryTableView, SLOT(setSelectedClick(bool))); } DlgAnalysis::~DlgAnalysis() { -- cgit v1.2.3