mirror of
https://github.com/izzy2lost/dolphin.git
synced 2026-06-19 01:16:48 -07:00
Add NonDefaultQPushButton to set autoDefault of buttons to false
This commit is contained in:
@@ -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);
|
||||
}
|
||||
Reference in New Issue
Block a user