mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-09 09:39:13 +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
|
@ -23,6 +23,7 @@
|
|||
#include "Core/ConfigManager.h"
|
||||
#include "Core/Core.h"
|
||||
|
||||
#include "DolphinQt/QtUtils/NonDefaultQPushButton.h"
|
||||
#include "DolphinQt/Settings.h"
|
||||
#include "DolphinQt/Settings/USBDeviceAddToWhitelistDialog.h"
|
||||
|
||||
|
@ -164,8 +165,8 @@ void WiiPane::CreateWhitelistedUSBPassthroughDevices()
|
|||
m_whitelist_usb_list = new QListWidget();
|
||||
whitelist_layout->addWidget(m_whitelist_usb_list, 0, 0, 1, -1);
|
||||
whitelist_layout->setColumnStretch(0, 1);
|
||||
m_whitelist_usb_add_button = new QPushButton(tr("Add..."));
|
||||
m_whitelist_usb_remove_button = new QPushButton(tr("Remove"));
|
||||
m_whitelist_usb_add_button = new NonDefaultQPushButton(tr("Add..."));
|
||||
m_whitelist_usb_remove_button = new NonDefaultQPushButton(tr("Remove"));
|
||||
whitelist_layout->addWidget(m_whitelist_usb_add_button, 1, 1);
|
||||
whitelist_layout->addWidget(m_whitelist_usb_remove_button, 1, 2);
|
||||
whitelist_layout->addWidget(m_whitelist_usb_list, 0, 0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue