diff --git a/iaito_win32 b/iaito_win32 index bdacfe0a..30dd86c1 160000 --- a/iaito_win32 +++ b/iaito_win32 @@ -1 +1 @@ -Subproject commit bdacfe0a3b44cca6b2c4f7a35228fd3343fc471f +Subproject commit 30dd86c1d73d25a56f4a01ec23de3dd3d1f6c4cc diff --git a/src/analthread.cpp b/src/analthread.cpp index 80a20322..cc2ebf12 100644 --- a/src/analthread.cpp +++ b/src/analthread.cpp @@ -2,11 +2,11 @@ #include #include "mainwindow.h" -AnalThread::AnalThread(MainWindow *main, QWidget *parent) : +AnalThread::AnalThread(MainWindow *w, QWidget *parent) : QThread(parent) { // Radare core found in: - this->main = main; + this->w = w; //this->level = 2; } @@ -14,5 +14,5 @@ AnalThread::AnalThread(MainWindow *main, QWidget *parent) : void AnalThread::run() { //qDebug() << "Anal level: " << this->level; - this->main->core->analyze(this->level); + this->w->core->analyze(this->level); } diff --git a/src/analthread.h b/src/analthread.h index e07dbcf3..8aa22cef 100644 --- a/src/analthread.h +++ b/src/analthread.h @@ -9,13 +9,13 @@ class AnalThread : public QThread { Q_OBJECT public: - explicit AnalThread(MainWindow *main, QWidget *parent = 0); + explicit AnalThread(MainWindow *w, QWidget *parent = 0); void run(); int level; private: - MainWindow *main; + MainWindow *w; }; #endif // ANALTHREAD_H