forked from qt-creator/qt-creator
Globally disable WindowContextHelpButtonHint
Do set the global application flag AA_DisableWindowContextHelpButton to avoid having to unset the default WindowContextHelpButtonHint in every single dialog. AA_DisableWindowContextHelpButton was added in Qt 5.10. Change-Id: I21fe8bc5ddfa4c01ec7a799b04bfb6ff1c9d6d86 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -337,7 +337,6 @@ static StackFrame inputFunctionForDisassembly()
|
||||
dialog.setInputMode(QInputDialog::TextInput);
|
||||
dialog.setLabelText(StackHandler::tr("Function:"));
|
||||
dialog.setWindowTitle(StackHandler::tr("Disassemble Function"));
|
||||
dialog.setWindowFlags(dialog.windowFlags() & ~Qt::WindowContextHelpButtonHint);
|
||||
if (dialog.exec() != QDialog::Accepted)
|
||||
return frame;
|
||||
const QString function = dialog.textValue();
|
||||
|
||||
Reference in New Issue
Block a user