Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:wolfi323:branches:KDE:Frameworks5
kdenlive4
gcc7-fixes.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gcc7-fixes.patch of Package kdenlive4
diff --git a/src/scopes/audioscopes/spectrogram.cpp b/src/scopes/audioscopes/spectrogram.cpp index 1d3a0a2fd..e9fed0338 100644 --- a/src/scopes/audioscopes/spectrogram.cpp +++ b/src/scopes/audioscopes/spectrogram.cpp @@ -228,7 +228,7 @@ QImage Spectrogram::renderHUD(uint) x = leftDist + (m_innerScopeRect.width()-1) * ((float)hz)/m_freqMax; // Hide text if it would overlap with the text drawn at the mouse position - hideText = m_aTrackMouse->isChecked() && m_mouseWithinWidget && abs(x-(leftDist + mouseX + 20)) < (int) minDistX + 16 + hideText = m_aTrackMouse->isChecked() && m_mouseWithinWidget && abs(x-(static_cast<int>(leftDist) + mouseX + 20)) < (int) minDistX + 16 && mouseX < m_innerScopeRect.width() && mouseX >= 0; if (x <= rightBorder) { @@ -256,7 +256,7 @@ QImage Spectrogram::renderHUD(uint) } // Draw the line at the very right (maximum frequency) x = leftDist + m_innerScopeRect.width()-1; - hideText = m_aTrackMouse->isChecked() && m_mouseWithinWidget && abs(x-(leftDist + mouseX + 30)) < (int) minDistX + hideText = m_aTrackMouse->isChecked() && m_mouseWithinWidget && abs(x-(static_cast<int>(leftDist) + mouseX + 30)) < (int) minDistX && mouseX < m_innerScopeRect.width() && mouseX >= 0; davinci.drawLine(x, topDist, x, topDist + m_innerScopeRect.height()+6); if (!hideText) {
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor