From 6316d798cc9a006263f4a77b6b68b8d6f771817c Mon Sep 17 00:00:00 2001 From: hpgood <35557088@qq.com> Date: Fri, 13 Nov 2020 13:04:05 +0800 Subject: [PATCH] Update xml2objectwidget.cpp change to getXMLHighlightConfPath() method,which is public method. --- xml2object/src/xml2objectwidget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xml2object/src/xml2objectwidget.cpp b/xml2object/src/xml2objectwidget.cpp index 4b60e23..1955a51 100644 --- a/xml2object/src/xml2objectwidget.cpp +++ b/xml2object/src/xml2objectwidget.cpp @@ -5,7 +5,7 @@ Xml2ObjectWidget::Xml2ObjectWidget(QWidget *parent, Qt::WindowFlags f) : QDialog setupUi(this); code_hl=new SyntaxHighlighter(code_txt); - code_hl->loadConfiguration(GlobalAttributes::XMLHighlightConfPath); + code_hl->loadConfiguration(GlobalAttributes::getXMLHighlightConfPath()); connect(close_btn, SIGNAL(clicked(void)), this, SLOT(close(void))); connect(clear_btn, SIGNAL(clicked(void)), this, SLOT(clearSource(void)));