diff options
author | Be <be@mixxx.org> | 2020-05-15 16:13:34 -0500 |
---|---|---|
committer | Be <be@mixxx.org> | 2020-05-15 16:13:34 -0500 |
commit | 70ba21406989bbcb71ea06cbcee84fc5f307a466 (patch) | |
tree | 8f26027479756082687b8552e442dce2d80b8ee3 | |
parent | d01da1213b2a3575bad2a372c476e78fd0e8d8bd (diff) |
widgethelper: rename namespace to lowercase to match convention
-rw-r--r-- | src/util/widgethelper.h | 4 | ||||
-rw-r--r-- | src/widget/woverview.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/util/widgethelper.h b/src/util/widgethelper.h index 0000b03f8d..22a46726db 100644 --- a/src/util/widgethelper.h +++ b/src/util/widgethelper.h @@ -3,7 +3,7 @@ #include <QScreen> namespace mixxx { -namespace WidgetHelper { +namespace widgethelper { /// Returns an adjusted upper left point for displaying the popup /// with the given size on the screen, shifting the popup if it would go off /// the right or bottom edges of the screen. @@ -20,5 +20,5 @@ QPoint mapPopupToScreen( } return newTopLeft; } -} // namespace WidgetHelper +} // namespace widgethelper } // namespace mixxx diff --git a/src/widget/woverview.cpp b/src/widget/woverview.cpp index 7aa366139e..1a1d20fe95 100644 --- a/src/widget/woverview.cpp +++ b/src/widget/woverview.cpp @@ -531,7 +531,7 @@ void WOverview::mousePressEvent(QMouseEvent* e) { if (pHoveredCue != nullptr) { m_pCueMenuPopup->setTrackAndCue(m_pCurrentTrack, pHoveredCue); - QPoint cueMenuTopLeft = mixxx::WidgetHelper::mapPopupToScreen( + QPoint cueMenuTopLeft = mixxx::widgethelper::mapPopupToScreen( windowHandle()->screen()->size(), e->globalPos(), m_pCueMenuPopup->size()); |