GUI: compile problems fixed (too lazy to rebuild)
This commit is contained in:
parent
da6b66623f
commit
ab93b41c91
|
|
@ -14,7 +14,7 @@ CalculatorDialog::CalculatorDialog(QWidget* parent) : QDialog(parent), ui(new Ui
|
|||
ui->txtExpression->setText("0");
|
||||
ui->txtExpression->selectAll();
|
||||
ui->txtExpression->setFocus();
|
||||
mValidateThread = new ValidateExpressionThread();
|
||||
mValidateThread = new ValidateExpressionThread(this);
|
||||
connect(mValidateThread, SIGNAL(expressionChanged(bool, bool, int_t)), this, SLOT(expressionChanged(bool, bool, int_t)));
|
||||
connect(ui->txtExpression, SIGNAL(textChanged(QString)), mValidateThread, SLOT(textChanged(QString)));
|
||||
}
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ WordEditDialog::WordEditDialog(QWidget* parent) : QDialog(parent), ui(new Ui::Wo
|
|||
#endif
|
||||
setModal(true);
|
||||
|
||||
mValidateThread = new ValidateExpressionThread();
|
||||
mValidateThread = new ValidateExpressionThread(this);
|
||||
connect(mValidateThread, SIGNAL(expressionChanged(bool, bool, int_t)), this, SLOT(expressionChanged(bool, bool, int_t)));
|
||||
connect(ui->expressionLineEdit, SIGNAL(textEdited(QString)), mValidateThread, SLOT(textChanged(QString)));
|
||||
mWord = 0;
|
||||
|
|
|
|||
Loading…
Reference in New Issue