feat: change video window title

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

View file

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