summaryrefslogtreecommitdiffstats
path: root/examples/xml/streambookmarks/mainwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/xml/streambookmarks/mainwindow.cpp')
-rw-r--r--examples/xml/streambookmarks/mainwindow.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/examples/xml/streambookmarks/mainwindow.cpp b/examples/xml/streambookmarks/mainwindow.cpp
index 183143dc8..5aef32777 100644
--- a/examples/xml/streambookmarks/mainwindow.cpp
+++ b/examples/xml/streambookmarks/mainwindow.cpp
@@ -91,10 +91,8 @@ void MainWindow::open()
XbelReader reader(treeWidget);
if (!reader.read(&file)) {
QMessageBox::warning(this, tr("QXmlStream Bookmarks"),
- tr("Parse error in file %1 at line %2, column %3:\n%4")
+ tr("Parse error in file %1:\n\n%2")
.arg(fileName)
- .arg(reader.lineNumber())
- .arg(reader.columnNumber())
.arg(reader.errorString()));
} else {
statusBar()->showMessage(tr("File loaded"), 2000);