mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 12:19:12 +00:00
Add NonDefaultQPushButton to set autoDefault of buttons to false
This commit is contained in:
parent
9af9e791f6
commit
a4d031cfda
23 changed files with 111 additions and 60 deletions
11
Source/Core/DolphinQt/QtUtils/NonDefaultQPushButton.cpp
Normal file
11
Source/Core/DolphinQt/QtUtils/NonDefaultQPushButton.cpp
Normal file
|
@ -0,0 +1,11 @@
|
|||
// Copyright 2022 Dolphin Emulator Project
|
||||
// Licensed under GPLv2+
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#include "DolphinQt/QtUtils/NonDefaultQPushButton.h"
|
||||
|
||||
NonDefaultQPushButton::NonDefaultQPushButton(const QString& text, QWidget* parent)
|
||||
: QPushButton(text, parent)
|
||||
{
|
||||
this->setAutoDefault(false);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue