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

View File

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

View File

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