mirror of https://github.com/PCSX2/pcsx2.git
Qt: Fix Wunused-but-set-variable warnings.
This commit is contained in:
parent
7a5f63e0f5
commit
60e6e1f242
|
@ -639,13 +639,10 @@ void MainWindow::setStyleFromSettings()
|
|||
// Alternative dark theme.
|
||||
qApp->setStyle(QStyleFactory::create("Fusion"));
|
||||
|
||||
const QColor lighterGray(75, 75, 75);
|
||||
const QColor gray(128, 128, 128);
|
||||
const QColor black(25, 25, 25);
|
||||
const QColor slate(18, 18, 18);
|
||||
const QColor rubyish(172, 21, 31);
|
||||
|
||||
|
||||
QPalette darkPalette;
|
||||
darkPalette.setColor(QPalette::Window, slate);
|
||||
darkPalette.setColor(QPalette::WindowText, Qt::white);
|
||||
|
|
|
@ -406,7 +406,6 @@ void ControllerSettingsDialog::updateListDescription(u32 global_slot, Controller
|
|||
const QVariant data(item->data(Qt::UserRole));
|
||||
if (data.type() == QVariant::UInt && data.toUInt() == global_slot)
|
||||
{
|
||||
const bool is_mtap_port = sioPadIsMultitapSlot(global_slot);
|
||||
const auto [port, slot] = sioConvertPadToPortAndSlot(global_slot);
|
||||
const bool mtap_enabled = getBoolValue("Pad", (port == 0) ? "MultitapPort1" : "MultitapPort2", false);
|
||||
|
||||
|
|
Loading…
Reference in New Issue