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