karchive.cpp   karchive.cpp 
skipping to change at line 25 skipping to change at line 25
You should have received a copy of the GNU Library General Public Licens e You should have received a copy of the GNU Library General Public Licens e
along with this library; see the file COPYING.LIB. If not, write to along with this library; see the file COPYING.LIB. If not, write to
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA. Boston, MA 02110-1301, USA.
*/ */
#include "karchive.h" #include "karchive.h"
#include "klimitediodevice.h" #include "klimitediodevice.h"
#include <config.h>
#include <QStack> #include <QStack>
#include <QtCore/QMap> #include <QtCore/QMap>
#include <QtCore/QDir> #include <QtCore/QDir>
#include <QtCore/QFile> #include <QtCore/QFile>
#include <QDebug> #include <QDebug>
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <time.h> #include <time.h>
#include <unistd.h> #include <unistd.h>
skipping to change at line 209 skipping to change at line 207
d->dev = 0; d->dev = 0;
return closeSucceeded; return closeSucceeded;
} }
const KArchiveDirectory* KArchive::directory() const const KArchiveDirectory* KArchive::directory() const
{ {
// rootDir isn't const so that parsing-on-demand is possible // rootDir isn't const so that parsing-on-demand is possible
return const_cast<KArchive *>(this)->rootDir(); return const_cast<KArchive *>(this)->rootDir();
} }
bool KArchive::addLocalFile( const QString& fileName, const QString& destNa me ) bool KArchive::addLocalFile(const QString&, const QString&)
{ {
Q_ASSERT(0); // Disabled for Stellarium Q_ASSERT(0); // Disabled for Stellarium
return true; return true;
// QFileInfo fileInfo( fileName ); // QFileInfo fileInfo( fileName );
// if ( !fileInfo.isFile() && !fileInfo.isSymLink() ) // if ( !fileInfo.isFile() && !fileInfo.isSymLink() )
// { // {
// qWarning() << fileName << "doesn't exist or is not a regular fil e."; // qWarning() << fileName << "doesn't exist or is not a regular fil e.";
// return false; // return false;
// } // }
// //
 End of changes. 2 change blocks. 
3 lines changed or deleted 1 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/