Use more STL containers instead of Qt containers

This commit is contained in:
Martin Kleusberg
2019-05-02 16:07:02 +02:00
parent a0624b0f8f
commit b803e3c49f
17 changed files with 87 additions and 80 deletions

View File

@@ -111,7 +111,7 @@ void ExtendedScintilla::dropEvent(QDropEvent* e)
f.close();
}
void ExtendedScintilla::setupSyntaxHighlightingFormat(QsciLexer *lexer, const QString& settings_name, int style)
void ExtendedScintilla::setupSyntaxHighlightingFormat(QsciLexer* lexer, const std::string& settings_name, int style)
{
lexer->setColor(QColor(Settings::getValue("syntaxhighlighter", settings_name + "_colour").toString()), style);