Hi. I've got a problem. I have a piece of code:
Code:
tr("You can't convert value to the same unit"), { return false; }
And I reach error that Information cannot be used as a function :eek:
Regards
Printable View
Hi. I've got a problem. I have a piece of code:
Code:
tr("You can't convert value to the same unit"), { return false; }
And I reach error that Information cannot be used as a function :eek:
Regards
QMessageBox::information() with lower case i.
Thanks, now's all right. But there's another problem. Here's piece of code
Code:
if (beaufortBox->isChecked() && knotBox_2->isChecked()) { convertDialog->setWindowTitle("Converting value from Beaufort to Knot");// this is error line toLabel->setText("Knot(s)"); displayConvertDialog(); }
And I've got error, that expected primary expression before -> token. What is this problem about? Regards
Where is "convertDialog" declared?
it is form created by designer, I was subclassing this form.