diff options
Diffstat (limited to 'utils')
-rw-r--r-- | utils/themeeditor/gui/skindocument.cpp | 4 | ||||
-rw-r--r-- | utils/themeeditor/models/parsetreemodel.cpp | 1 |
2 files changed, 4 insertions, 1 deletions
diff --git a/utils/themeeditor/gui/skindocument.cpp b/utils/themeeditor/gui/skindocument.cpp index f04c12d213..18877d14ee 100644 --- a/utils/themeeditor/gui/skindocument.cpp +++ b/utils/themeeditor/gui/skindocument.cpp | |||
@@ -211,7 +211,9 @@ void SkinDocument::cursorChanged() | |||
211 | skin_parse(line.selectedText().toAscii()); | 211 | skin_parse(line.selectedText().toAscii()); |
212 | if(skin_error_line() > 0) | 212 | if(skin_error_line() > 0) |
213 | parseStatus = tr("Error on line ") + | 213 | parseStatus = tr("Error on line ") + |
214 | QString::number(line.blockNumber() + 1) + tr(": ") + | 214 | QString::number(line.blockNumber() + 1) |
215 | + tr(", column ") + QString::number(skin_error_col()) | ||
216 | + tr(": ") + | ||
215 | skin_error_message(); | 217 | skin_error_message(); |
216 | statusLabel->setText(parseStatus); | 218 | statusLabel->setText(parseStatus); |
217 | } | 219 | } |
diff --git a/utils/themeeditor/models/parsetreemodel.cpp b/utils/themeeditor/models/parsetreemodel.cpp index 66c96213ab..8e49118e2e 100644 --- a/utils/themeeditor/models/parsetreemodel.cpp +++ b/utils/themeeditor/models/parsetreemodel.cpp | |||
@@ -72,6 +72,7 @@ QString ParseTreeModel::changeTree(const char *document) | |||
72 | { | 72 | { |
73 | QString error = tr("Error on line ") + | 73 | QString error = tr("Error on line ") + |
74 | QString::number(skin_error_line()) | 74 | QString::number(skin_error_line()) |
75 | + tr(", column ") + QString::number(skin_error_col()) | ||
75 | + tr(": ") + QString(skin_error_message()); | 76 | + tr(": ") + QString(skin_error_message()); |
76 | return error; | 77 | return error; |
77 | } | 78 | } |