[Solved] Remove OK button from QMessageBox?
I am creating a QMessageBox as below:
@QMessageBox *msg = new QMessageBox();
By default it is showing the OK button.
I want to remove that button.
In fact I do not want any button.
What is the function to do this?
I have tried removing it by using buttons() to get a list of buttons & then removing them but this does not work.
Did you try