Commit b5efb72c authored by Илья Богданов's avatar Илья Богданов
Browse files

Замечания по highlighter.cpp

parent c6467117
No related merge requests found
Showing with 2 additions and 1 deletion
+2 -1
......@@ -4,7 +4,8 @@
Highlighter::Highlighter(QTextDocument *parent)
: QSyntaxHighlighter(parent)
{
QFile file(":xml/color.xml" );
QFile file(":xml/color.xml" ); //!!! Это нужно считывать в основмном окне, т.к. там эти данные нужны.
//!!! Сюда надо передавать контейнер.
if(file.open(QFile::ReadOnly | QFile::Text))
{
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment