mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 13:57:57 -07:00
16 lines
438 B
C
16 lines
438 B
C
|
// Copyright 2022 Dolphin Emulator Project
|
||
|
// Licensed under GPLv2+
|
||
|
// Refer to the license.txt file included.
|
||
|
|
||
|
#pragma once
|
||
|
|
||
|
#include <QPushButton>
|
||
|
|
||
|
// A custom QPushButton that sets the autoDefault option to false
|
||
|
// This makes sure random buttons are not highlighted anymore by default
|
||
|
class NonDefaultQPushButton : public QPushButton
|
||
|
{
|
||
|
public:
|
||
|
explicit NonDefaultQPushButton(const QString& text = {}, QWidget* parent = nullptr);
|
||
|
};
|