From e1b8fd63522c30c6fbcfb6a5ad5d4d0a9116fec9 Mon Sep 17 00:00:00 2001 From: itsmattkc Date: Tue, 17 Dec 2019 14:11:13 +1100 Subject: [PATCH] fixed issue (qt bug?) where video streams wouldn't receive ColorManager::ConfigChanged signal --- app/project/item/footage/imagestream.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/project/item/footage/imagestream.cpp b/app/project/item/footage/imagestream.cpp index 51a6e72b0..8789c7411 100644 --- a/app/project/item/footage/imagestream.cpp +++ b/app/project/item/footage/imagestream.cpp @@ -29,7 +29,8 @@ ImageStream::ImageStream() : { set_type(kImage); - connect(ColorManager::instance(), SIGNAL(ConfigChanged()), this, SLOT(ColorConfigChangedSlot())); + // For some reason this connection fails if we don't explicitly specify DirectConnection + connect(ColorManager::instance(), SIGNAL(ConfigChanged()), this, SLOT(ColorConfigChangedSlot()), Qt::DirectConnection); } QString ImageStream::description()