projects
/
profile
/
ivi
/
qtxmlpatterns.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Qt XML Patterns File System Example: Do not bind to a null node index
[profile/ivi/qtxmlpatterns.git]
/
examples
/
xmlpatterns
/
filetree
/
mainwindow.cpp
diff --git
a/examples/xmlpatterns/filetree/mainwindow.cpp
b/examples/xmlpatterns/filetree/mainwindow.cpp
index
83c3ebf
..
3116305
100644
(file)
--- a/
examples/xmlpatterns/filetree/mainwindow.cpp
+++ b/
examples/xmlpatterns/filetree/mainwindow.cpp
@@
-94,7
+94,7
@@
void MainWindow::on_queryBox_currentIndexChanged()
//! [3]
void MainWindow::evaluateResult()
{
- if (queryBox->currentText().isEmpty())
+ if (queryBox->currentText().isEmpty()
|| m_fileNode.isNull()
)
return;
QXmlQuery query(m_namePool);