summaryrefslogtreecommitdiff
path: root/src/network
diff options
context:
space:
mode:
authorNick Ratelle <nratelle@qnx.com>2012-02-17 15:17:52 -0500
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-10-14 03:41:49 +0200
commitce52989b3b955c1e91e8449b77ea6aa5e1b4d5f6 (patch)
tree3c6784c9f6d78cf288b707363a1726477a25aca1 /src/network
parent83c7d19e2a96010724b281bae3410fd764e5d908 (diff)
downloadqt4-tools-ce52989b3b955c1e91e8449b77ea6aa5e1b4d5f6.tar.gz
Fix number of available printers in CUPS support
If available printers in CUPS support. If the number of available printers changes, we want to update the count. Additionally, if that number has gone to zero, we want to ensure that the number of available printers in the static object is reset to zero. This fixes a crash that occurs if: * You print * You kill cupsd (or it crashes because you're porting it and your port is * unstable) * You try to print again before restarting it. cherry-picked from qt5/qtbase eda0e120e9e2e7b7be747f4ed035d686c9547769 Change-Id: If4640045073acaecec4495f5cb01806ae859cf65 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'src/network')
0 files changed, 0 insertions, 0 deletions