1
0
Fork 0

GUI: compile problems fixed (too lazy to rebuild)

This commit is contained in:
Mr. eXoDia 2015-06-20 23:58:33 +02:00
parent da6b66623f
commit ab93b41c91
2 changed files with 2 additions and 2 deletions

View File

@ -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)));
}

View File

@ -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;