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

@ -8,7 +8,6 @@ memory_string_searcher::memory_string_searcher(QWidget* parent)
{
setWindowTitle(tr("String Searcher"));
setAttribute(Qt::WA_DeleteOnClose);
setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint);
m_addr_line = new QLineEdit(this);
m_addr_line->setFixedWidth(QLabel("This is the very length of the lineedit due to hidpi reasons.").sizeHint().width());