Salazaar
11th June 2007, 19:53
Hi. I've got a problem. I have a piece of code:
int ret = QMessageBox::Information(this, tr("Speed Units Converter"),
tr("You can't convert value to the same unit"),
QMessageBox::Ok | QMessageBox::Default);
if (ret == QMessageBox::Ok)
{
return false;
}
And I reach error that Information cannot be used as a function :eek:
Regards
int ret = QMessageBox::Information(this, tr("Speed Units Converter"),
tr("You can't convert value to the same unit"),
QMessageBox::Ok | QMessageBox::Default);
if (ret == QMessageBox::Ok)
{
return false;
}
And I reach error that Information cannot be used as a function :eek:
Regards