[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/KDE/3.5/kdelibs/kdeprint/management
From: Dirk Mueller <mueller () kde ! org>
Date: 2006-09-20 15:34:44
Message-ID: 1158766484.381222.4559.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 586779 by mueller:
more prettyURL's to hide possible passwords from the user
M +1 -1 kminfopage.cpp
M +1 -1 kmpropbackend.cpp
M +1 -1 kmwend.cpp
--- branches/KDE/3.5/kdelibs/kdeprint/management/kminfopage.cpp #586778:586779
@@ -127,7 +127,7 @@
{
QString s;
for (QStringList::ConstIterator it=p->members().begin(); it!=p->members().end(); ++it)
- s.append((*it) + ", ");
+ s.append(KURL(*it).prettyURL() + ", ");
s.truncate(s.length()-2);
m_device->setText(s);
}
--- branches/KDE/3.5/kdelibs/kdeprint/management/kmpropbackend.cpp #586778:586779
@@ -57,7 +57,7 @@
{
if (p && p->isPrinter())
{
- m_uri->setText(p->device());
+ m_uri->setText(KURL(p->device()).prettyURL());
QString prot = p->deviceProtocol();
if (prot == "ipp" || prot == "http") m_type->setText(i18n("IPP Printer"));
else if (prot == "usb") m_type->setText(i18n("Local USB Printer"));
--- branches/KDE/3.5/kdelibs/kdeprint/management/kmwend.cpp #586778:586779
@@ -93,7 +93,7 @@
default:
// double decoding in case the printer name contains chars like '#' that are
// not decoded by "prettyURL".
- txt.append(s.arg(i18n("URI")).arg(shadowPassword( p->device() )));
+ txt.append(s.arg(i18n("URI")).arg(KURL( p->device()).prettyURL()));
break;
}
txt.append("</ul><br>");
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic