Define QStringLiteral when undefined (e.g. Qt 4)
This will allow us Qt 5 style coding. QLatin1String replaced everywhere where it
works for Qt 4 and 5, namely: the direct literal passing.
Note that the "standard" typo has also been fixed in this commit as the line had
to change anyway, so it is not much of an additional noise.
Change-Id: I8b7e4fe5f337441000bd3d8f58db528fdd0e175b
Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com>
Reviewed-by: Sergey Belyashov <Sergey.Belyashov@gmail.com>
| commit | 8e0b66f1269c0516fd339a18b5644bf38a1e2412 |
| parent | 77f5e60cd23391f5103ac9c238066611b2fc4223 |
| author | Laszlo Papp <lpapp@kde.org> |
| committer | The Qt Project <gerrit-noreply@qt-project.org> |
| commit time | Wed, 6 Nov 2013 09:55:30 +0100 |
- M examples/serialport/terminal/settingsdialog.cpp
- M src/serialport/qserialport_unix.cpp
- M src/serialport/qserialport_win.cpp
- M src/serialport/qserialportglobal.h
- M src/serialport/qserialportinfo_unix.cpp
- M src/serialport/qserialportinfo_win.cpp
- M src/serialport/qserialportinfo_wince.cpp
- M src/serialport/qtudev_p.h