Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 662722 Details for
Bug 739498
media-sound/mixxx: cmake based ebuild to port away from scons
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch for long deprecated Qt::MidButton
mixxx-9999-qtdeprecated-MidButton.patch (text/plain), 1.54 KB, created by
jospezial
on 2020-09-28 05:45:03 UTC
(
hide
)
Description:
patch for long deprecated Qt::MidButton
Filename:
MIME Type:
Creator:
jospezial
Created:
2020-09-28 05:45:03 UTC
Size:
1.54 KB
patch
obsolete
>diff --git a/src/widget/knobeventhandler.h b/src/widget/knobeventhandler.h >index 27ad2b2e03..e502336763 100644 >--- a/src/widget/knobeventhandler.h >+++ b/src/widget/knobeventhandler.h >@@ -59,7 +59,7 @@ class KnobEventHandler { > m_bRightButtonPressed = true; > break; > case Qt::LeftButton: >- case Qt::MidButton: >+ case Qt::MiddleButton: > m_startPos = e->globalPos(); > // Somehow using Qt::BlankCursor does not work on Windows > // https://mixxx.org/forums/viewtopic.php?p=40298#p40298 >@@ -74,7 +74,7 @@ class KnobEventHandler { > double value = 0.0; > switch (e->button()) { > case Qt::LeftButton: >- case Qt::MidButton: >+ case Qt::MiddleButton: > QCursor::setPos(m_startPos); > QApplication::restoreOverrideCursor(); > value = valueFromMouseEvent(pWidget, e); >diff --git a/src/widget/wspinny.cpp b/src/widget/wspinny.cpp >index 53be4b0c85..d396c8559f 100644 >--- a/src/widget/wspinny.cpp >+++ b/src/widget/wspinny.cpp >@@ -583,7 +583,7 @@ void WSpinny::mouseMoveEvent(QMouseEvent * e) { > double absPos = calculatePositionFromAngle(theta); > double absPosInSamples = absPos * m_pTrackSamples->get(); > m_pScratchPos->set(absPosInSamples - m_dInitialPos); >- } else if (e->buttons() & Qt::MidButton) { >+ } else if (e->buttons() & Qt::MiddleButton) { > } else if (e->buttons() & Qt::NoButton) { > setCursor(QCursor(Qt::OpenHandCursor)); > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 739498
:
657376
|
658850
|
662713
|
662716
|
662719
|
662722
|
662725
|
662728
|
675688
|
675691
|
678319
|
680674
|
680689
|
684939