Fixed segfault in QApplication::exec by copying argc and argv into ui class

also reenabled writing to the QPlainTextEdit
This commit is contained in:
Darren VanBuren 2017-07-24 05:51:13 -07:00
parent 13f5fbf8b0
commit 65d123ce2c
4 changed files with 15 additions and 7 deletions

2
ui.h
View file

@ -7,6 +7,8 @@ class ui : public QObject {
public:
ui(int, char **);
int argc;
char **argv;
int exec();
void sendButtonClicked(bool);
void returnOnTextEntry();