diff --git a/compressed_archive/unarr/compressed_archive.cpp b/compressed_archive/unarr/compressed_archive.cpp index 79862b98..6130ccc8 100644 --- a/compressed_archive/unarr/compressed_archive.cpp +++ b/compressed_archive/unarr/compressed_archive.cpp @@ -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 CompressedArchive::getFileNames() { return fileNames; diff --git a/compressed_archive/unarr/compressed_archive.h b/compressed_archive/unarr/compressed_archive.h index 00f40c91..c0a99938 100644 --- a/compressed_archive/unarr/compressed_archive.h +++ b/compressed_archive/unarr/compressed_archive.h @@ -25,7 +25,6 @@ public slots: bool toolsLoaded(); private: - bool loadFunctions(); bool tools; bool valid; QList fileNames; diff --git a/compressed_archive/unarr/unarr-wrapper.pri b/compressed_archive/unarr/unarr-wrapper.pri index 17e16cdb..56eb4f22 100644 --- a/compressed_archive/unarr/unarr-wrapper.pri +++ b/compressed_archive/unarr/unarr-wrapper.pri @@ -6,4 +6,5 @@ HEADERS += $$PWD/extract_delegate.h \ SOURCES += $$PWD/compressed_archive.cpp \ -LIBS+=-lunarr \ No newline at end of file +#for system libunarr.so +#LIBS+=-lunarr \ No newline at end of file