mirror of
https://github.com/barry-ran/QtScrcpy.git
synced 2025-08-03 14:18:45 +00:00
feat: change video window title
This commit is contained in:
parent
b06a1a2094
commit
3bbea81e12
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue