Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-10425

qprinter, Cups and availablePrinters()

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P3: Somewhat important
    • 4.8.x
    • 4.5.3, 4.6.0, 4.6.1, 4.6.2
    • GUI: Printing
    • None
    • GNU/Linux
      gcc 4.4.1

    Description

      Declaring or instantiating a QPrinter it will call QPrinterInfo::availablePrinters() twice through QPrinter::setPrinterName() and QPrinterInfo::defaultPrinter(). Since the calls to the cups libraries done by QPrinterInfo::availablePrinters() can be slow, it might be a solution to call it once and share the result.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              johnlayt John Layt
              stromme Christian
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes