mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2024-09-21 15:56:21 +08:00
fix CID 350569
This commit is contained in:
parent
b0c1ce714f
commit
36af584e1b
|
@ -193,6 +193,11 @@ void ProxGuiQT::_StartProxmarkThread(void) {
|
||||||
void ProxGuiQT::MainLoop() {
|
void ProxGuiQT::MainLoop() {
|
||||||
plotapp = new QApplication(argc, argv);
|
plotapp = new QApplication(argc, argv);
|
||||||
|
|
||||||
|
// Setup the picture widget
|
||||||
|
pictureWidget = new QWidget();
|
||||||
|
pictureController = new Ui::PictureForm();
|
||||||
|
pictureController->setupUi(pictureWidget);
|
||||||
|
|
||||||
connect(this, SIGNAL(ShowGraphWindowSignal()), this, SLOT(_ShowGraphWindow()));
|
connect(this, SIGNAL(ShowGraphWindowSignal()), this, SLOT(_ShowGraphWindow()));
|
||||||
connect(this, SIGNAL(RepaintGraphWindowSignal()), this, SLOT(_RepaintGraphWindow()));
|
connect(this, SIGNAL(RepaintGraphWindowSignal()), this, SLOT(_RepaintGraphWindow()));
|
||||||
connect(this, SIGNAL(HideGraphWindowSignal()), this, SLOT(_HideGraphWindow()));
|
connect(this, SIGNAL(HideGraphWindowSignal()), this, SLOT(_HideGraphWindow()));
|
||||||
|
@ -213,17 +218,12 @@ void ProxGuiQT::MainLoop() {
|
||||||
makeUnfocusable();
|
makeUnfocusable();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
plotapp->exec();
|
plotapp->exec();
|
||||||
}
|
}
|
||||||
|
|
||||||
ProxGuiQT::ProxGuiQT(int argc, char **argv, WorkerThread *wthread) : plotapp(NULL), plotwidget(NULL),
|
ProxGuiQT::ProxGuiQT(int argc, char **argv, WorkerThread *wthread) :
|
||||||
argc(argc), argv(argv), proxmarkThread(wthread) {
|
plotapp(NULL), plotwidget(NULL), pictureController(NULL), pictureWidget(NULL), argc(argc), argv(argv), proxmarkThread(wthread) {
|
||||||
|
|
||||||
// Setup the picture widget
|
|
||||||
pictureWidget = new QWidget();
|
|
||||||
pictureController = new Ui::PictureForm();
|
|
||||||
pictureController->setupUi(pictureWidget);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
ProxGuiQT::~ProxGuiQT(void) {
|
ProxGuiQT::~ProxGuiQT(void) {
|
||||||
|
|
Loading…
Reference in a new issue