mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-19 19:36:11 +00:00
compile on MinGW
This commit is contained in:
parent
b26d506b58
commit
9b206ec5ae
@ -1 +1 @@
|
|||||||
Subproject commit bdacfe0a3b44cca6b2c4f7a35228fd3343fc471f
|
Subproject commit 30dd86c1d73d25a56f4a01ec23de3dd3d1f6c4cc
|
@ -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);
|
||||||
}
|
}
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user