From 7fce5965ae880229180f977f4f339a60bdbfaaae Mon Sep 17 00:00:00 2001 From: Mikael Urankar Date: Sat, 2 May 2020 11:46:06 +0000 Subject: math/speedcrunch: fix build with qt5.14 PR: 246033 Approved by: danfe (maintainer) --- math/speedcrunch/files/patch-gui_syntaxhighlighter.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 math/speedcrunch/files/patch-gui_syntaxhighlighter.cpp (limited to 'math/speedcrunch/files/patch-gui_syntaxhighlighter.cpp') diff --git a/math/speedcrunch/files/patch-gui_syntaxhighlighter.cpp b/math/speedcrunch/files/patch-gui_syntaxhighlighter.cpp new file mode 100644 index 000000000000..f6159a4b7498 --- /dev/null +++ b/math/speedcrunch/files/patch-gui_syntaxhighlighter.cpp @@ -0,0 +1,11 @@ +--- gui/syntaxhighlighter.cpp.orig 2020-04-29 20:42:12 UTC ++++ gui/syntaxhighlighter.cpp +@@ -128,7 +128,7 @@ ColorScheme ColorScheme::loadFromFile(const QString& p + ColorScheme ColorScheme::loadByName(const QString& name) + { + for (auto& path : colorSchemeSearchPaths()) { +- auto fileName = QString("%1/%2.%3").arg(path, name, m_colorSchemeExtension); ++ auto fileName = QString("%1/%2.%3").arg(path).arg(name).arg(m_colorSchemeExtension); + auto colorScheme = loadFromFile(fileName); + if (colorScheme.isValid()) + return colorScheme; -- cgit v1.2.3