I tried custom icon of my critical message. But I lost my critical sound.
Qt Code:
//msg.setIcon(QMessageBox::Critical); msg.setWindowTitle("Gagal"); msg.setText("Test aja"); msg.exec();To copy to clipboard, switch view to plain text mode
I tried custom icon of my critical message. But I lost my critical sound.
Qt Code:
//msg.setIcon(QMessageBox::Critical); msg.setWindowTitle("Gagal"); msg.setText("Test aja"); msg.exec();To copy to clipboard, switch view to plain text mode
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.
Bookmarks