From 643f922076f65f859c4d83b213929c87200d3cd0 Mon Sep 17 00:00:00 2001 From: mikfire Date: Sat, 31 Dec 2022 14:28:04 -0500 Subject: [PATCH] Fixes a brewnote signal The dates in the brewnotes were changed from QDateTime to QDate objects. The signature for the signal in BtTreeModel wasn't updated, so the signal was never properly connected. It is now properly connected. --- src/BtTreeModel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/BtTreeModel.cpp b/src/BtTreeModel.cpp index edc193d8a..8f478f7ed 100644 --- a/src/BtTreeModel.cpp +++ b/src/BtTreeModel.cpp @@ -1408,7 +1408,7 @@ void BtTreeModel::observeElement(NamedEntity * d) { } if (qobject_cast(d)) { - connect(d, SIGNAL(brewDateChanged(QDateTime)), this, SLOT(elementChanged())); + connect(d, SIGNAL(brewDateChanged(const QDate &)), this, SLOT(elementChanged())); } else { connect(d, SIGNAL(changedName(QString)), this, SLOT(elementChanged())); connect(d, SIGNAL(changedFolder(QString)), this, SLOT(folderChanged(QString)));