summaryrefslogtreecommitdiffabout
authorulf69 <ulf69>2004-08-03 21:19:48 (UTC)
committer ulf69 <ulf69>2004-08-03 21:19:48 (UTC)
commitca9f3d60920d52508238da2099544bb0da1a4ee4 (patch) (side-by-side diff)
tree76011b9cc2741bd6477f4030e5857faf89a50fe9
parentbe52d7d03e57620919b23cb0cbb33ac22d0920e0 (diff)
downloadkdepimpi-ca9f3d60920d52508238da2099544bb0da1a4ee4.zip
kdepimpi-ca9f3d60920d52508238da2099544bb0da1a4ee4.tar.gz
kdepimpi-ca9f3d60920d52508238da2099544bb0da1a4ee4.tar.bz2
cleanup of debug code
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--kabc/plugins/qtopia/resourceqtopia.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kabc/plugins/qtopia/resourceqtopia.cpp b/kabc/plugins/qtopia/resourceqtopia.cpp
index 242e0c6..5565580 100644
--- a/kabc/plugins/qtopia/resourceqtopia.cpp
+++ b/kabc/plugins/qtopia/resourceqtopia.cpp
@@ -226,25 +226,25 @@ bool ResourceQtopia::lock( const QString &lockfileName )
kdDebug(5700) << "ResourceQtopia::lock()" << endl;
QString fn = lockfileName;
KURL url(fn);
QString lockName = locateLocal( "data", "kabc/lock/" + url.fileName() + ".lock" );
kdDebug(5700) << "-- lock name: " << lockName << endl;
if (QFile::exists( lockName ))
{
- qDebug("ResourceOpie::lock: lockfile %s already exists. (Delete it before continuing if nobody else is accessing the resourcefile %s)", lockName.latin1(), fileName());
+ qDebug("ResourceOpie::lock: lockfile %s already exists. (Delete it before continuing if nobody else is accessing the resourcefile %s)", lockName.latin1(), fileName().latin1());
return false;
}
QString lockUniqueName;
lockUniqueName = fn + KApplication::randomString( 8 );
url = lockUniqueName;
//US mLockUniqueName = locateLocal( "data", "kabc/lock/" + lockUniqueName );
mLockUniqueName = locateLocal( "data", "kabc/lock/" + url.fileName() );
kdDebug(5700) << "-- lock unique name: " << mLockUniqueName << endl;
// Create unique file