Browse Source

Fix typography

Neal Wilson 10 years ago
parent
commit
98e24d5c96
1 changed files with 4 additions and 4 deletions
  1. 4
    4
      src/typica.w

+ 4
- 4
src/typica.w View File

@@ -14733,7 +14733,7 @@ QScriptValue QAbstractItemModel_hasChildren(QScriptContext *context,
14733 14733
 }
14734 14734
 
14735 14735
 @ Some additional work is needed to handle |QModelIndex| appropriately. First
14736
-we declare |QModelIndex| as a metatype.
14736
+we declare that as a metatype.
14737 14737
 
14738 14738
 @<Class declarations@>=
14739 14739
 Q_DECLARE_METATYPE(QModelIndex)
@@ -15060,7 +15060,7 @@ value = engine->newQMetaObject(&DeviceConfigurationWindow::staticMetaObject,
15060 15060
                                constructor);
15061 15061
 engine->globalObject().setProperty("DeviceConfigurationWindow", value);
15062 15062
 
15063
-@* A Common Base Class for Device Configuration Widgets.
15063
+@* A Base Class for Device Configuration Widgets.
15064 15064
 
15065 15065
 \noindent There are certain operations that are very commonly required
15066 15066
 among device configuration widgets. These common elements have been implemented
@@ -15105,14 +15105,14 @@ void BasicDeviceConfigurationWidget::updateAttribute(const QString &name,
15105 15105
 		deviceModel->data(currentNode, Qt::UserRole).toString());
15106 15106
 	QDomNodeList configData = referenceElement.elementsByTagName("attribute");
15107 15107
 	QDomElement node;
15108
-	bool found = false;
15108
+	bool found = @[false@];
15109 15109
 	for(int i = 0; i < configData.size(); i++)
15110 15110
 	{
15111 15111
 		node = configData.at(i).toElement();
15112 15112
 		if(node.attribute("name") == name)
15113 15113
 		{
15114 15114
 			node.setAttribute("value", value);
15115
-			found = true;
15115
+			found = @[true@];
15116 15116
 			break;
15117 15117
 		}
15118 15118
 	}

Loading…
Cancel
Save