clean up debug statements

This commit is contained in:
Felix Kauselmann 2015-03-20 22:48:12 +01:00
parent f6ffcabe3f
commit a0346de5c2
3 changed files with 3 additions and 11 deletions

View File

@ -14,7 +14,6 @@ extern"C" {
CompressedArchive::CompressedArchive(const QString & filePath, QObject *parent) :
QObject(parent),valid(false),tools(true),numFiles(0),ar(NULL),stream(NULL)
{
qDebug() << filePath;
stream = ar_open_file(filePath.toStdString().c_str());
//try to open archive
ar = ar_open_rar_archive(stream);
@ -25,7 +24,7 @@ CompressedArchive::CompressedArchive(const QString & filePath, QObject *parent)
{
return;
}
//initial parse
while (ar_parse_entry(ar))
{
numFiles++;
@ -37,8 +36,6 @@ CompressedArchive::CompressedArchive(const QString & filePath, QObject *parent)
valid = true;
tools = true;
}
qDebug() << fileNames;
qDebug() << numFiles;
}
CompressedArchive::~CompressedArchive()
@ -47,11 +44,6 @@ CompressedArchive::~CompressedArchive()
ar_close(stream);
}
bool CompressedArchive::loadFunctions()
{
return true;
}
QList<QString> CompressedArchive::getFileNames()
{
return fileNames;

View File

@ -25,7 +25,6 @@ public slots:
bool toolsLoaded();
private:
bool loadFunctions();
bool tools;
bool valid;
QList<QString> fileNames;

View File

@ -6,4 +6,5 @@ HEADERS += $$PWD/extract_delegate.h \
SOURCES += $$PWD/compressed_archive.cpp \
LIBS+=-lunarr
#for system libunarr.so
#LIBS+=-lunarr