Hi all,
I have code :
QMessageBox k(parent);
k.setText(msg);
k.setStandardButtons(QMessageBox::Ok);
k.setDefaultButton(QMessageBox::Ok);
int r = k.exec();
1.If I press mouse on Ok button , message box close and parent application become enable.
2.If I press Enter from keyboard message box closed but parent application is DISABLE ??!!!
r value in both scenario is 1024.
WHY ?
Bookmarks