Qt: Remove "What's this" button

This commit is contained in:
spycrab
2018-05-05 02:29:16 +02:00
parent 91a447394b
commit 69d6c0dccb
11 changed files with 17 additions and 0 deletions

View File

@ -42,6 +42,7 @@ constexpr int COLUMN_ROLE = Qt::UserRole + 1;
CheatsManager::CheatsManager(QWidget* parent) : QDialog(parent)
{
setWindowTitle(tr("Cheats Manager"));
setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint);
connect(&Settings::Instance(), &Settings::EmulationStateChanged, this,
&CheatsManager::OnStateChanged);