compile on MinGW

This commit is contained in:
mrexodia 2017-03-30 23:26:30 +02:00
parent b26d506b58
commit 9b206ec5ae
No known key found for this signature in database
GPG Key ID: FC89E0AAA0C1AAD8
3 changed files with 6 additions and 6 deletions

@ -1 +1 @@
Subproject commit bdacfe0a3b44cca6b2c4f7a35228fd3343fc471f Subproject commit 30dd86c1d73d25a56f4a01ec23de3dd3d1f6c4cc

View File

@ -2,11 +2,11 @@
#include <QDebug> #include <QDebug>
#include "mainwindow.h" #include "mainwindow.h"
AnalThread::AnalThread(MainWindow *main, QWidget *parent) : AnalThread::AnalThread(MainWindow *w, QWidget *parent) :
QThread(parent) QThread(parent)
{ {
// Radare core found in: // Radare core found in:
this->main = main; this->w = w;
//this->level = 2; //this->level = 2;
} }
@ -14,5 +14,5 @@ AnalThread::AnalThread(MainWindow *main, QWidget *parent) :
void AnalThread::run() void AnalThread::run()
{ {
//qDebug() << "Anal level: " << this->level; //qDebug() << "Anal level: " << this->level;
this->main->core->analyze(this->level); this->w->core->analyze(this->level);
} }

View File

@ -9,13 +9,13 @@ class AnalThread : public QThread
{ {
Q_OBJECT Q_OBJECT
public: public:
explicit AnalThread(MainWindow *main, QWidget *parent = 0); explicit AnalThread(MainWindow *w, QWidget *parent = 0);
void run(); void run();
int level; int level;
private: private:
MainWindow *main; MainWindow *w;
}; };
#endif // ANALTHREAD_H #endif // ANALTHREAD_H