I tried custom icon of my critical message. But I lost my critical sound.
Code:
//msg.setIcon(QMessageBox::Critical); msg.setWindowTitle("Gagal"); msg.setText("Test aja"); msg.exec();
Printable View
I tried custom icon of my critical message. But I lost my critical sound.
Code:
//msg.setIcon(QMessageBox::Critical); msg.setWindowTitle("Gagal"); msg.setText("Test aja"); msg.exec();
Yes, because a critical sound is only played with a message box tagged as critical. If you use a custom icon, there no idea about what kind of message box you are showing, so no sound is output.