summaryrefslogtreecommitdiff
authorar <ar>2004-05-02 17:43:05 (UTC)
committer ar <ar>2004-05-02 17:43:05 (UTC)
commit43bd7d72643e2ee3bc4d830c6927def392bc9c7f (patch) (side-by-side diff)
tree7693b81c5a37032f81a720ea299b98bbccb94bda
parenta210b9a597ba0c929d95c38ffbaf972916c7b8a7 (diff)
downloadopie-43bd7d72643e2ee3bc4d830c6927def392bc9c7f.zip
opie-43bd7d72643e2ee3bc4d830c6927def392bc9c7f.tar.gz
opie-43bd7d72643e2ee3bc4d830c6927def392bc9c7f.tar.bz2
- convert qDebug to odebug
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--core/symlinker/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/symlinker/main.cpp b/core/symlinker/main.cpp
index 96e7f3c..bf53a82 100644
--- a/core/symlinker/main.cpp
+++ b/core/symlinker/main.cpp
@@ -65,17 +65,17 @@ static void createSymlinks( const QString &location, const QString &package )
QString e=s.ascii();
e = e.replace(ffi.fileName(),"");
// odebug << "DirName : " << e.ascii() << "" << oendl;
system ( QString("mkdir -p ")+e.ascii() );
if (symlink( (location+s).ascii(), s.ascii() ) != 0)
odebug << "Big problem creating symlink and directory" << oendl;
}
}
-// qDebug ( "Created %s" ,s.ascii() );
+// odebug << "Created << s.ascii() << oendl;
out << s << "\n";
} else {
odebug << "" << s.ascii() << " exists already, not symlinked" << oendl;
}
}
}
inFile.close();
outFile.close();
@@ -94,17 +94,17 @@ static void removeSymlinks( const QString &package )
QString s;
while ( !in.eof() ) { // until end of file...
s = in.readLine(); // line of text excluding '\n'
// odebug << "remove symlink " << s.ascii() << "" << oendl;
QFileInfo ffi( s );
//Confirm that it's still a symlink.
if ( ffi.isSymLink() ){
unlink( s.ascii() );
-// qDebug ( "Removed %s", s.ascii() );}
+// odebug << "Removed " << s.ascii() << oendl; }
// else
// odebug << "Not removed " << s.ascii() << "" << oendl;
}
}
inFile.close();
inFile.remove();
}
}