I am using the following code to open message boxes in Qt 5.4:

QMessageBox* messageBox = new QMessageBox();
messageBox->setWindowModality(Qt::ApplicationModal);
messageBox->show();

This code shows a message box having a context help button (which I do not
want).

The following code snippets both do not show the context help button:

QMessageBox* messageBox = new QMessageBox();
messageBox->show();

QMessageBox* messageBox = new QMessageBox();
messageBox->open();

Is there any sense in this behavior? Why does calling setWindowModality()
enable the context help button? 

-- 
Kind Regards
Bernhard Lindner



_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to