mirror of
https://github.com/YACReader/yacreader
synced 2025-06-04 01:28:55 -04:00
clean up debug statements
This commit is contained in:
parent
f6ffcabe3f
commit
a0346de5c2
@ -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;
|
||||
|
@ -25,7 +25,6 @@ public slots:
|
||||
bool toolsLoaded();
|
||||
private:
|
||||
|
||||
bool loadFunctions();
|
||||
bool tools;
|
||||
bool valid;
|
||||
QList<QString> fileNames;
|
||||
|
@ -6,4 +6,5 @@ HEADERS += $$PWD/extract_delegate.h \
|
||||
|
||||
SOURCES += $$PWD/compressed_archive.cpp \
|
||||
|
||||
LIBS+=-lunarr
|
||||
#for system libunarr.so
|
||||
#LIBS+=-lunarr
|
Loading…
x
Reference in New Issue
Block a user