Zhao Yuhang
2023-12-14 5ee113e2c4f916b1078ace782bb130f5edf64bcf
examples/mainwindow/mainwindow.cpp
@@ -176,7 +176,7 @@
        QTimer::singleShot(75, [iconButton, agent]() {
            if (iconButton->property("double-click-close").toBool())
                return;
            agent->showSystemMenu(iconButton->mapToGlobal({0, iconButton->height()}));
            agent->showSystemMenu(iconButton->mapToGlobal(QPoint{0, iconButton->height()}));
        });
    });
    connect(iconButton, &QWK::WindowButton::doubleClicked, this, [iconButton, this]() {