Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

macOS update checker fix #1642

Merged
merged 5 commits into from
May 10, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Run clang-format
  • Loading branch information
dnsge committed Apr 22, 2020
commit 3772396543fd842887b271dd4da16313ac25c572
3 changes: 2 additions & 1 deletion src/util/InitUpdateButton.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ void initUpdateButton(Button &button,
QPoint(int(-100 * button.scale()), button.height()));

// Make sure that update dialog will not go off left edge of screen
if (globalPoint.x() < 0) {
if (globalPoint.x() < 0)
{
globalPoint.setX(0);
}

Expand Down