diff options
author | Eric Hameleers <alien@slackware.com> | 2020-07-31 16:13:18 +0200 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2020-07-31 16:13:18 +0200 |
commit | 703149752c6265b36973d2c1f0f5a69721e3128a (patch) | |
tree | 7ded0d801771d5705f48ffbfb48f37dd4829439e /kde/patch/kdenlive/kdenlive_gcc7.patch | |
parent | dd005500c624d127321ff3fe14a0c29bfa8d67f7 (diff) | |
parent | cd7ff1719433fbb3b6a8304596be173bc1b91b00 (diff) | |
download | ktown-master.tar.gz ktown-master.tar.xz |
Diffstat (limited to 'kde/patch/kdenlive/kdenlive_gcc7.patch')
-rw-r--r-- | kde/patch/kdenlive/kdenlive_gcc7.patch | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/kde/patch/kdenlive/kdenlive_gcc7.patch b/kde/patch/kdenlive/kdenlive_gcc7.patch deleted file mode 100644 index a7ddb90..0000000 --- a/kde/patch/kdenlive/kdenlive_gcc7.patch +++ /dev/null @@ -1,32 +0,0 @@ -# Make kdenlive compile with gcc7 - ---- kdenlive-17.04.1/src/profiles/tree/profiletreemodel.cpp.orig 2017-05-08 19:52:35.000000000 +0200 -+++ kdenlive-17.04.1/src/profiles/tree/profiletreemodel.cpp 2017-05-19 08:09:04.986909338 +0200 -@@ -27,6 +27,7 @@ - #include <QVector> - #include <array> - #include <KLocalizedString> -+#include <functional> - - - class ProfileItem ---- kdenlive-17.04.1/src/scopes/audioscopes/spectrogram.cpp.orig 2017-05-08 19:52:35.000000000 +0200 -+++ kdenlive-17.04.1/src/scopes/audioscopes/spectrogram.cpp 2017-05-19 08:09:04.993910503 +0200 -@@ -241,7 +241,7 @@ - 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 - ((int)leftDist + mouseX + 20)) < (int) minDistX + 16 - && mouseX < m_innerScopeRect.width() && mouseX >= 0; - - if (x <= rightBorder) { -@@ -268,7 +268,7 @@ - } - // 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 - ((int)leftDist + mouseX + 30)) < (int) minDistX - && mouseX < m_innerScopeRect.width() && mouseX >= 0; - davinci.drawLine(x, topDist, x, topDist + m_innerScopeRect.height() + 6); - if (!hideText) { |