diff options
author | Uwe Klotz <uklotz@mixxx.org> | 2020-11-01 18:38:52 +0100 |
---|---|---|
committer | Uwe Klotz <uklotz@mixxx.org> | 2020-11-01 18:38:52 +0100 |
commit | 477d42e31946e1bca8539b25977a29605eff9d6f (patch) | |
tree | 2c845a9e43bd128187f2591456fe3c67d67086df /src/mixxx.cpp | |
parent | c2af3089de92d81b8efd4ccaa8d1fcd7de52c0e7 (diff) |
Rename local variable (again)
Diffstat (limited to 'src/mixxx.cpp')
-rw-r--r-- | src/mixxx.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mixxx.cpp b/src/mixxx.cpp index 51057fa757..522c070c1f 100644 --- a/src/mixxx.cpp +++ b/src/mixxx.cpp @@ -1506,12 +1506,12 @@ void MixxxMainWindow::rebootMixxxView() { qWarning() << "Unable to move window inside screen borders."; } else { - const auto screenBorderWidth = + const auto windowMarginWidth = pScreen->geometry().width() - m_pWidgetParent->width(); - const auto screenBorderHeight = + const auto windowMarginHeight = pScreen->geometry().height() - m_pWidgetParent->height(); - newX = std::max(0, std::min(newX, screenBorderWidth)); - newY = std::max(0, std::min(newY, screenBorderHeight)); + newX = std::max(0, std::min(newX, windowMarginWidth)); + newY = std::max(0, std::min(newY, windowMarginHeight)); move(newX, newY); } } |