diff options
author | Mikael Urankar <mikael@FreeBSD.org> | 2020-05-02 11:46:06 +0000 |
---|---|---|
committer | Mikael Urankar <mikael@FreeBSD.org> | 2020-05-02 11:46:06 +0000 |
commit | 7fce5965ae880229180f977f4f339a60bdbfaaae (patch) | |
tree | c238b151e35f5f3a8e3e6ed8eff7cc9d1e251849 /math/speedcrunch/files/patch-gui_syntaxhighlighter.cpp | |
parent | net-mgmt/mysqld_exporter: Update to 0.12.1 (diff) |
math/speedcrunch: fix build with qt5.14
PR: 246033
Approved by: danfe (maintainer)
Notes
Notes:
svn path=/head/; revision=533686
Diffstat (limited to 'math/speedcrunch/files/patch-gui_syntaxhighlighter.cpp')
-rw-r--r-- | math/speedcrunch/files/patch-gui_syntaxhighlighter.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
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; |