Hi I'm trying to reschedule a QDate, but do not know why that is not working.
I have the following code:
qDebug() << ano2;
qDebug() << mes2;
qDebug() << dia2;
bool b = ui->data_inicio->date().setDate(ano2, mes2, dia2);
qDebug () << b;
qDebug() << ano2;
qDebug() << mes2;
qDebug() << dia2;
bool b = ui->data_inicio->date().setDate(ano2, mes2, dia2);
qDebug () << b;
To copy to clipboard, switch view to plain text mode
In qDebug appears fine. Until b returns true.
Why does not the date and amended?
regards,
Daniel Sousa
Bookmarks