diff options
author | Sona Kurazyan <sona.kurazyan@qt.io> | 2022-04-14 14:10:41 +0200 |
---|---|---|
committer | Sona Kurazyan <sona.kurazyan@qt.io> | 2022-04-19 19:40:04 +0200 |
commit | 24d2a00ce2b2983655e9c59705025218cd0fa345 (patch) | |
tree | ece511f525996413449365ffebb902016c9dc382 /src/printsupport/platform | |
parent | 87762234a7de535935da29358a669d134266ae6a (diff) |
Printsupport: stop using QL1Char constructor for creating char literals
Required for porting away from QLatin1Char/QLatin1String in scope of
QTBUG-98434.
Change-Id: Ia186ed178239796bdf19db5b35a36ea606baf937
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/printsupport/platform')
-rw-r--r-- | src/printsupport/platform/windows/qwindowsprinterinfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/printsupport/platform/windows/qwindowsprinterinfo.cpp b/src/printsupport/platform/windows/qwindowsprinterinfo.cpp index e416dd7a21..cd41ab730e 100644 --- a/src/printsupport/platform/windows/qwindowsprinterinfo.cpp +++ b/src/printsupport/platform/windows/qwindowsprinterinfo.cpp @@ -84,7 +84,7 @@ extern QPrinter::PaperSize mapDevmodePaperSize(int s); // QString output = QString::fromWCharArray(buffer); // if (output != noPrinters) { // // Filter out the name of the printer, which should be everything before a comma. -// QString printerName = output.split(QLatin1Char(',')).value(0); +// QString printerName = output.split(u',').value(0); // QPrinterInfo printerInfo(printerName); // printerInfo.d_ptr->isDefault = true; // return printerInfo; |