refactor: some mini feature changes in BaseWindow (#6074)
This commit is contained in:
@@ -14,7 +14,6 @@ void initUpdateButton(Button &button,
|
||||
// show update prompt when clicking the button
|
||||
QObject::connect(&button, &Button::leftClicked, [&button] {
|
||||
auto *dialog = new UpdateDialog();
|
||||
dialog->setActionOnFocusLoss(BaseWindow::Delete);
|
||||
|
||||
auto globalPoint = button.mapToGlobal(
|
||||
QPoint(int(-100 * button.scale()), button.height()));
|
||||
|
||||
Reference in New Issue
Block a user