[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE_3_2_BRANCH: kdelibs/kdeprint
From: Michael Goffioul <goffioul () imec ! be>
Date: 2004-03-10 12:57:22
Message-ID: 20040310125722.8CF8699A8 () office ! kde ! org
[Download RAW message or body]
CVS commit by goffioul:
Make print-to-kmail-as-PDF work again (backport: bug #77000)
M +2 -2 kdeprintd.cpp 1.17.2.1
--- kdelibs/kdeprint/kdeprintd.cpp #1.17:1.17.2.1
@@ -125,10 +125,10 @@ int KDEPrintd::print(const QString& cmd,
{
QString tmpFilename = locateLocal( "tmp", "kdeprint_" + kapp->randomString( 8 ) );
- command.replace( re.pos( 0 ), re.matchedLength(), KProcess::quote( tmpFilename ) );
+ command.replace( re, KProcess::quote( tmpFilename ) );
proc->setOutput( re.cap( 1 ) );
proc->setTempOutput( tmpFilename );
}
else
- command.replace( re.pos( 0 ), re.matchedLength(), KProcess::quote( re.cap( 1 ) ) );
+ command.replace( re, KProcess::quote( re.cap( 1 ) ) );
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic