mirror of
https://github.com/barry-ran/QtScrcpy.git
synced 2025-04-20 03:25:02 +00:00
setFixedSize影响linux全屏,
fremlesswindow不影响linux全屏
This commit is contained in:
parent
5f1c120a89
commit
01898bfbda
1 changed files with 4 additions and 1 deletions
|
@ -244,8 +244,11 @@ void VideoForm::updateShowSize(const QSize &newSize)
|
|||
//showSize.setHeight(showSize.height() - titleBarHeight);
|
||||
|
||||
if (showSize != size()) {
|
||||
#ifdef Q_OS_OSX
|
||||
setFixedSize(showSize);
|
||||
//resize(showSize);
|
||||
#else
|
||||
resize(showSize);
|
||||
#endif
|
||||
updateStyleSheet(vertical);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue