Qt: use setAttribute(AA_DisableWindowContextHelpButton) instead of flags

probably needs Qt 5.10.1 to work propery
This commit is contained in:
Megamouse 2018-02-12 13:30:12 +01:00 committed by Ivan
parent ae7e275a9d
commit cf1c45dfe8
21 changed files with 2 additions and 25 deletions

View file

@ -5,8 +5,6 @@ constexpr auto qstr = QString::fromStdString;
auto_pause_settings_dialog::auto_pause_settings_dialog(QWidget *parent) : QDialog(parent)
{
setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint);
QLabel *description = new QLabel(tr("To use auto pause: enter the ID(s) of a function or a system call.\nRestart of the game is required to apply. You can enable/disable this in the settings."), this);
pauseList = new QTableWidget(this);