Fixed segfault in QApplication::exec by copying argc and argv into ui class
also reenabled writing to the QPlainTextEdit
This commit is contained in:
parent
13f5fbf8b0
commit
65d123ce2c
4 changed files with 15 additions and 7 deletions
2
ui.h
2
ui.h
|
@ -7,6 +7,8 @@ class ui : public QObject {
|
|||
public:
|
||||
ui(int, char **);
|
||||
|
||||
int argc;
|
||||
char **argv;
|
||||
int exec();
|
||||
void sendButtonClicked(bool);
|
||||
void returnOnTextEntry();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue