summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorLaszlo Papp <lpapp@kde.org>2013-10-24 14:06:47 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-10-24 15:49:43 +0200
commitc872f638199575e63d1b18b204da67ce64c9a020 (patch)
tree57f5fed6ef6518ac941178c2b73af7a27a4d5c2f /examples
parentdea0a877f8905517b64c92ad0ea3f9f40d3859a3 (diff)
downloadqtserialport-c872f638199575e63d1b18b204da67ce64c9a020.tar.gz
Fix a typo in the examples (patity -> parity)
Change-Id: I92b6fbe5fbc1a402919a8339086f495e351ca6dc Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com> Reviewed-by: Sergey Belyashov <Sergey.Belyashov@gmail.com>
Diffstat (limited to 'examples')
-rw-r--r--examples/serialport/blockingmaster/masterthread.cpp2
-rw-r--r--examples/serialport/blockingslave/slavethread.cpp2
-rw-r--r--examples/serialport/master/dialog.cpp2
-rw-r--r--examples/serialport/slave/dialog.cpp2
-rw-r--r--examples/serialport/slave/slavethread.cpp2
5 files changed, 5 insertions, 5 deletions
diff --git a/examples/serialport/blockingmaster/masterthread.cpp b/examples/serialport/blockingmaster/masterthread.cpp
index 061ddd6..5f28e82 100644
--- a/examples/serialport/blockingmaster/masterthread.cpp
+++ b/examples/serialport/blockingmaster/masterthread.cpp
@@ -123,7 +123,7 @@ void MasterThread::run()
}
if (!serial.setParity(QSerialPort::NoParity)) {
- emit error(tr("Can't set no patity to port %1, error code %2")
+ emit error(tr("Can't set no parity to port %1, error code %2")
.arg(portName).arg(serial.error()));
return;
}
diff --git a/examples/serialport/blockingslave/slavethread.cpp b/examples/serialport/blockingslave/slavethread.cpp
index a31db25..0ceff32 100644
--- a/examples/serialport/blockingslave/slavethread.cpp
+++ b/examples/serialport/blockingslave/slavethread.cpp
@@ -119,7 +119,7 @@ void SlaveThread::run()
}
if (!serial.setParity(QSerialPort::NoParity)) {
- emit error(tr("Can't set no patity to port %1, error code %2")
+ emit error(tr("Can't set no parity to port %1, error code %2")
.arg(portName).arg(serial.error()));
return;
}
diff --git a/examples/serialport/master/dialog.cpp b/examples/serialport/master/dialog.cpp
index e3a4b66..9525cc5 100644
--- a/examples/serialport/master/dialog.cpp
+++ b/examples/serialport/master/dialog.cpp
@@ -121,7 +121,7 @@ void Dialog::sendRequest()
}
if (!serial.setParity(QSerialPort::NoParity)) {
- processError(tr("Can't set no patity to port %1, error code %2")
+ processError(tr("Can't set no parity to port %1, error code %2")
.arg(serial.portName()).arg(serial.error()));
return;
}
diff --git a/examples/serialport/slave/dialog.cpp b/examples/serialport/slave/dialog.cpp
index 06a2a15..2475869 100644
--- a/examples/serialport/slave/dialog.cpp
+++ b/examples/serialport/slave/dialog.cpp
@@ -128,7 +128,7 @@ void Dialog::startSlave()
}
if (!serial.setParity(QSerialPort::NoParity)) {
- processError(tr("Can't set no patity to port %1, error code %2")
+ processError(tr("Can't set no parity to port %1, error code %2")
.arg(serial.portName()).arg(serial.error()));
return;
}
diff --git a/examples/serialport/slave/slavethread.cpp b/examples/serialport/slave/slavethread.cpp
index a0177ff..b54ddcd 100644
--- a/examples/serialport/slave/slavethread.cpp
+++ b/examples/serialport/slave/slavethread.cpp
@@ -113,7 +113,7 @@ void SlaveThread::run()
}
if (!serial.setParity(QSerialPort::NoParity)) {
- emit error(tr("Can't set no patity to port %1, error code %2")
+ emit error(tr("Can't set no parity to port %1, error code %2")
.arg(portName).arg(serial.error()));
return;
}