feat: change video window title

This commit is contained in:
Barry 2021-04-17 19:00:34 +08:00
parent b06a1a2094
commit 3bbea81e12

View file

@ -221,7 +221,7 @@ void Device::initSignals()
// must be show before updateShowSize
m_videoForm->show();
m_videoForm->setWindowTitle(deviceName);
m_videoForm->setWindowTitle(Config::getInstance().getTitle() + "-" + deviceName);
m_videoForm->updateShowSize(size);
bool deviceVer = size.height() > size.width();