kdenonbeta/kdedebian/kalternatives
CVS commit by juanjux:
Some fixes.
M +3 -4 src/altparser.cpp 1.2
R authors 1.1
--- kdenonbeta/kdedebian/kalternatives/src/altparser.cpp #1.1:1.2
@@ -20,5 +20,4 @@
#include "altparser.h"
-#include <stdio.h>
#include <qfileinfo.h>
#include <qfile.h>
@@ -121,5 +120,4 @@ bool Alternative::select()
QString parstr = QString("/etc/alternatives/%1").arg(parsl->name);
QFile parlink(parstr);
- printf("XXX parstr: %s\n", parstr.ascii());
if(!parlink.remove())
{
@@ -296,5 +294,4 @@ Alternative *Item::getAlternative(const
for(a = alts->first(); a; a = alts->next())
{
- printf("a->getPath: %s altpath: %s\n", a->getPath().ascii(), altpath.ascii());
if(a->getPath() == altpath)
{
@@ -362,5 +359,5 @@ AltFilesManager::AltFilesManager(const Q
parseOk = false;
}
- debugPrintAlts();
+ //debugPrintAlts();
}
@@ -513,4 +510,5 @@ int AltFilesManager::compareItems(Item i
*/
+/*
void AltFilesManager::debugPrintAlts() const
{
@@ -561,4 +559,5 @@ void AltFilesManager::debugPrintAlts() c
}
}
+*/
/*
// ************************************** Test
Reply to: