Hi,
why when i press no button the program will close?
thank uQt Code:
msg.setText("Are you sure you want to Quit?"); if(msg.clickedButton()==no){ event->ignore(); } else{ event->accept(); } msg.exec(); }To copy to clipboard, switch view to plain text mode
Bookmarks