summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrederik Gladhorn <frederik.gladhorn@digia.com>2013-06-06 10:05:14 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-06-06 10:05:14 +0200
commit0c79c2aa212a900568c26d08a036b0e38173ea3a (patch)
treeff8927f7572cf41168ae70c106626d5687ec375a
parent4481d40cb21141695503659ee319120a13629809 (diff)
parente7c230923d097a68fe132d8bcdaf4766b488bbb3 (diff)
downloadqtxmlpatterns-0c79c2aa212a900568c26d08a036b0e38173ea3a.tar.gz
Merge "Merge remote-tracking branch 'origin/stable' into dev" into refs/staging/dev
-rw-r--r--dist/changes-5.1.022
-rw-r--r--examples/xmlpatterns/filetree/mainwindow.cpp4
-rw-r--r--examples/xmlpatterns/filetree/mainwindow.h2
-rw-r--r--src/xmlpatterns/doc/src/qtxmlpatterns-module.qdoc1
-rw-r--r--sync.profile3
5 files changed, 27 insertions, 5 deletions
diff --git a/dist/changes-5.1.0 b/dist/changes-5.1.0
new file mode 100644
index 0000000..505b0cc
--- /dev/null
+++ b/dist/changes-5.1.0
@@ -0,0 +1,22 @@
+Qt 5.1 introduces many new features and improvements as well as bugfixes
+over the 5.0.x series. For more details, refer to the online documentation
+included in this distribution. The documentation is also available online:
+
+ http://qt-project.org/doc/qt-5.1
+
+The Qt version 5.1 series is binary compatible with the 5.0.x series.
+Applications compiled for 5.0 will continue to run with 5.1.
+
+Some of the changes listed in this file include issue tracking numbers
+corresponding to tasks in the Qt Bug Tracker:
+
+ http://bugreports.qt-project.org/
+
+Each of these identifiers can be entered in the bug tracker to obtain more
+information about a particular change.
+
+****************************************************************************
+* General *
+****************************************************************************
+
+ - This release contains only minor code improvements.
diff --git a/examples/xmlpatterns/filetree/mainwindow.cpp b/examples/xmlpatterns/filetree/mainwindow.cpp
index cec7006..9bf71cd 100644
--- a/examples/xmlpatterns/filetree/mainwindow.cpp
+++ b/examples/xmlpatterns/filetree/mainwindow.cpp
@@ -81,9 +81,9 @@ MainWindow::MainWindow() : m_fileTree(m_namePool)
//! [0]
//! [2]
-void MainWindow::on_queryBox_currentIndexChanged()
+void MainWindow::on_queryBox_currentIndexChanged(const QString &currentText)
{
- QFile queryFile(":/queries/" + queryBox->currentText());
+ QFile queryFile(":/queries/" + currentText);
queryFile.open(QIODevice::ReadOnly);
queryEdit->setPlainText(QString::fromLatin1(queryFile.readAll()));
diff --git a/examples/xmlpatterns/filetree/mainwindow.h b/examples/xmlpatterns/filetree/mainwindow.h
index 5b39be5..aaaec9a 100644
--- a/examples/xmlpatterns/filetree/mainwindow.h
+++ b/examples/xmlpatterns/filetree/mainwindow.h
@@ -58,7 +58,7 @@ public:
private slots:
void on_actionOpenDirectory_triggered();
void on_actionAbout_triggered();
- void on_queryBox_currentIndexChanged();
+ void on_queryBox_currentIndexChanged(const QString &);
private:
void loadDirectory(const QString &directory);
diff --git a/src/xmlpatterns/doc/src/qtxmlpatterns-module.qdoc b/src/xmlpatterns/doc/src/qtxmlpatterns-module.qdoc
index db80710..6d9fb18 100644
--- a/src/xmlpatterns/doc/src/qtxmlpatterns-module.qdoc
+++ b/src/xmlpatterns/doc/src/qtxmlpatterns-module.qdoc
@@ -31,7 +31,6 @@
XQuery, XSLT and XML Schema validation.
\ingroup modules
- \ingroup technology-apis
The \l{Qt XML Patterns} module provides support for XPath,
XQuery, XSLT and XML Schema validation.
diff --git a/sync.profile b/sync.profile
index 068db2b..675c687 100644
--- a/sync.profile
+++ b/sync.profile
@@ -8,7 +8,8 @@
# Each of the module version specifiers can take one of the following values:
# - A specific Git revision.
# - any git symbolic ref resolvable from the module's repository (e.g. "refs/heads/master" to track master branch)
+# - an empty string to use the same branch under test (dependencies will become "refs/heads/master" if we are in the master branch)
#
%dependencies = (
- "qtbase" => "refs/heads/dev",
+ "qtbase" => "",
);