~ubuntu-branches/ubuntu/gutsy/kde4libs/gutsy

« back to all changes in this revision

Viewing changes to kdeprint/management/kmpropbackend.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Riddell
  • Date: 2007-02-21 11:00:12 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20070221110012-6kw8khr9knv6lmg1
Tags: 3.80.3-0ubuntu1
New upstream unstable release

Show diffs side-by-side

added added

removed removed

Lines of Context:
59
59
{
60
60
        if (p && p->isPrinter())
61
61
        {
62
 
                m_uri->setText(p->device());
 
62
                m_uri->setText(KUrl(p->device()).prettyUrl());
63
63
                QString prot = p->deviceProtocol();
64
64
                if (prot == "ipp" || prot == "http") m_type->setText(i18n("IPP Printer"));
65
65
                else if (prot == "usb") m_type->setText(i18n("Local USB Printer"));