summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/purchasing/doc/src/gettingstarted-cpp.qdoc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/purchasing/doc/src/gettingstarted-cpp.qdoc b/src/purchasing/doc/src/gettingstarted-cpp.qdoc
index 96e3b93..40331e9 100644
--- a/src/purchasing/doc/src/gettingstarted-cpp.qdoc
+++ b/src/purchasing/doc/src/gettingstarted-cpp.qdoc
@@ -147,10 +147,10 @@
{
if (transaction->status() == QInAppTransaction::PurchaseApproved
&& transaction->product()->identifier() == QStringLiteral("healthPotion")) {
- if (!hasAlreadyStoredTransaction(transaction->orderId()) {
+ if (!hasAlreadyStoredTransaction(transaction->orderId())) {
++m_healthPotions;
- if (!addHealthPotionToPersistentStorage(transaction->orderId())
- popupErrorDialog(tr("Unable to write to persistent storage. Please make sure there is sufficient space and restart."))
+ if (!addHealthPotionToPersistentStorage(transaction->orderId()))
+ popupErrorDialog(tr("Unable to write to persistent storage. Please make sure there is sufficient space and restart."));
else
transaction->finalize();
}