diff options
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; |