QPrinter - Don't use QPrinterInfo::availablePrinters()
authorJohn Layt <jlayt@kde.org>
Fri, 21 Mar 2014 19:30:01 +0000 (20:30 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Sat, 7 Jun 2014 17:06:26 +0000 (19:06 +0200)
commit398ae00e84433789598a716cd3e6202a2f76f1fd
tree0cd77fc6bb2afd4b3d395ecd0bfabe20a14c2cc4
parent7eba6d039dfbb9377a4358842fcd7210dc1fdd86
QPrinter - Don't use QPrinterInfo::availablePrinters()

The availablePrinters() method can be slow as it gets all info for every
printer which may be slow with many network printers.

Change-Id: I4bc5ef46ed4867326b60b66371178b84204639ce
Reviewed-by: Andy Shaw <andy.shaw@digia.com>
src/printsupport/kernel/qprinter.cpp