mirror of
https://github.com/ONLYOFFICE/desktop-apps.git
synced 2026-02-10 18:05:16 +08:00
[win] cwindowplatform: fix window size for WinVista
This commit is contained in:
@ -344,7 +344,7 @@ bool CWindowPlatform::event(QEvent * event)
|
||||
void CWindowPlatform::resizeEvent(QResizeEvent *ev)
|
||||
{
|
||||
CWindowBase::resizeEvent(ev);
|
||||
if (m_borderless && Utils::getWinVersion() == WinVer::WinXP) {
|
||||
if (m_borderless && Utils::getWinVersion() <= WinVer::WinVista) {
|
||||
RECT rc;
|
||||
GetClientRect(m_hWnd, &rc);
|
||||
if (centralWidget()) {
|
||||
|
||||
Reference in New Issue
Block a user