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() skin_parse(line.selectedText().toAscii()); if(skin_error_line() > 0) parseStatus = tr("Error on line ") + - QString::number(line.blockNumber() + 1) + tr(": ") + + QString::number(line.blockNumber() + 1) + + tr(", column ") + QString::number(skin_error_col()) + + tr(": ") + skin_error_message(); statusLabel->setText(parseStatus); } 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) { QString error = tr("Error on line ") + QString::number(skin_error_line()) + + tr(", column ") + QString::number(skin_error_col()) + tr(": ") + QString(skin_error_message()); return error; } |