From 28ae05e2f9371550bd826be994372f67dee90013 Mon Sep 17 00:00:00 2001 From: Frederik Schwarzer Date: Wed, 25 Jul 2012 22:52:11 +0200 Subject: [PATCH] Fix some typos. Change-Id: I3c3c96fbbc19e2a69ac2f22618f15f5262718e50 Reviewed-by: Laszlo Papp Reviewed-by: Rohan McGovern Reviewed-by: Casper van Donderen --- src/sql/kernel/qsqldatabase.cpp | 2 +- src/sql/kernel/qsqlquery.cpp | 2 +- src/widgets/dialogs/qmessagebox.cpp | 2 +- src/widgets/widgets/qdialogbuttonbox.cpp | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/sql/kernel/qsqldatabase.cpp b/src/sql/kernel/qsqldatabase.cpp index f4a4cf9447..6dae39b9a2 100644 --- a/src/sql/kernel/qsqldatabase.cpp +++ b/src/sql/kernel/qsqldatabase.cpp @@ -433,7 +433,7 @@ void QSqlDatabasePrivate::disable() transactions. \note When using transactions, you must start the transaction before you create your query. - If an error occurrs, lastError() will return information about it. + If an error occurs, lastError() will return information about it. Get the names of the available SQL drivers with drivers(). Check for the presence of a particular driver with isDriverAvailable(). diff --git a/src/sql/kernel/qsqlquery.cpp b/src/sql/kernel/qsqlquery.cpp index 78631b5e5f..317d889bed 100644 --- a/src/sql/kernel/qsqlquery.cpp +++ b/src/sql/kernel/qsqlquery.cpp @@ -769,7 +769,7 @@ bool QSqlQuery::isValid() const Returns true if the query is \e{active}. An active QSqlQuery is one that has been \l{QSqlQuery::exec()} {exec()'d} successfully but not yet finished with. When you are finished with an active query, you - can make make the query inactive by calling finish() or clear(), or + can make the query inactive by calling finish() or clear(), or you can delete the QSqlQuery instance. \note Of particular interest is an active query that is a \c{SELECT} diff --git a/src/widgets/dialogs/qmessagebox.cpp b/src/widgets/dialogs/qmessagebox.cpp index b9727c814b..1064ac4a74 100644 --- a/src/widgets/dialogs/qmessagebox.cpp +++ b/src/widgets/dialogs/qmessagebox.cpp @@ -688,7 +688,7 @@ void QMessageBoxPrivate::_q_buttonClicked(QAbstractButton *button) defined \l ButtonRole. \value Ok An "OK" button defined with the \l AcceptRole. - \value Open A "Open" button defined with the \l AcceptRole. + \value Open An "Open" button defined with the \l AcceptRole. \value Save A "Save" button defined with the \l AcceptRole. \value Cancel A "Cancel" button defined with the \l RejectRole. \value Close A "Close" button defined with the \l RejectRole. diff --git a/src/widgets/widgets/qdialogbuttonbox.cpp b/src/widgets/widgets/qdialogbuttonbox.cpp index 602a004220..a7d923fb07 100644 --- a/src/widgets/widgets/qdialogbuttonbox.cpp +++ b/src/widgets/widgets/qdialogbuttonbox.cpp @@ -817,7 +817,7 @@ QDialogButtonBox::~QDialogButtonBox() defined \l ButtonRole. \value Ok An "OK" button defined with the \l AcceptRole. - \value Open A "Open" button defined with the \l AcceptRole. + \value Open An "Open" button defined with the \l AcceptRole. \value Save A "Save" button defined with the \l AcceptRole. \value Cancel A "Cancel" button defined with the \l RejectRole. \value Close A "Close" button defined with the \l RejectRole.