fixed issue (qt bug?) where video streams wouldn't receive ColorManager::ConfigChanged signal

This commit is contained in:
itsmattkc
2019-12-17 14:11:13 +11:00
parent d4ee33405b
commit e1b8fd6352
+2 -1
View File
@@ -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()