Sine Striker
2023-12-28 a12bb8782bd02305466a29101a4c54d6ba9c6bfe
src/core/contexts/win32windowcontext.cpp
@@ -680,7 +680,7 @@
    }
    QVariant Win32WindowContext::windowAttribute(const QString &key) const {
        if (key == QStringLiteral("title-bar-rect")) {
        if (key == QStringLiteral("window-rect")) {
            if (!m_windowHandle)
                return {};
@@ -696,10 +696,6 @@
            } else {
                ::AdjustWindowRectEx(&frame, style, FALSE, exStyle);
            }
            frame.left = std::abs(frame.left);
            frame.top = std::abs(frame.top);
            frame.right = std::abs(frame.right);
            frame.bottom = std::abs(frame.bottom);
            return QVariant::fromValue(rect2qrect(frame));
        }