fix: mac full screen

This commit is contained in:
rankun 2020-02-26 16:52:28 +08:00
parent 456af4fdb0
commit e10bfde6b4
2 changed files with 1 additions and 5 deletions

View file

@ -172,11 +172,7 @@ void VideoForm::updateShowSize(const QSize &newSize)
}
if (showSize != size()) {
#ifdef Q_OS_OSX
setFixedSize(showSize);
#else
resize(showSize);
#endif
if (m_skin) {
updateStyleSheet(vertical);
}

View file

@ -29,7 +29,7 @@
<key>LSMinimumSystemVersion</key>
<string>10.10</string>
<key>NSAppleEventsUsageDescription</key>
<string>play game need this</string>
<string></string>
<key>NSHumanReadableCopyright</key>
<string>Copyright © 2018-2038 rankun. All rights reserved.</string>
<key>NSMainStoryboardFile</key>