summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraxis <qt-info@nokia.com>2010-12-20 15:09:50 (GMT)
committeraxis <qt-info@nokia.com>2010-12-20 15:14:45 (GMT)
commitb24447e0f20db4a40df724476c6542ea44590935 (patch)
treefb38dc8596878cc92e3d345f666df603c201425e
parent1d6266e751d6b23a15f56bc21c503fe1a71da975 (diff)
downloadQt-b24447e0f20db4a40df724476c6542ea44590935.zip
Qt-b24447e0f20db4a40df724476c6542ea44590935.tar.gz
Qt-b24447e0f20db4a40df724476c6542ea44590935.tar.bz2
Fixed autotest.
-rw-r--r--tests/auto/qprinterinfo/tst_qprinterinfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qprinterinfo/tst_qprinterinfo.cpp b/tests/auto/qprinterinfo/tst_qprinterinfo.cpp
index c3fad6c..4f767a5 100644
--- a/tests/auto/qprinterinfo/tst_qprinterinfo.cpp
+++ b/tests/auto/qprinterinfo/tst_qprinterinfo.cpp
@@ -134,7 +134,7 @@ QStringList tst_QPrinterInfo::getPrintersFromSystem()
QString output = getOutputFromCommand(command);
QStringList list = output.split(QChar::fromLatin1('\n'));
- QRegExp reg("^[Pp]rinter ([.a-zA-Z0-9_-]+)");
+ QRegExp reg("^[Pp]rinter ([.a-zA-Z0-9-_@]+)");
for (int c = 0; c < list.size(); ++c) {
if (reg.indexIn(list[c]) >= 0) {
QString printer = reg.cap(1);