mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-18 18:26:27 +01:00
commit
c9b4e3959c
@ -40,7 +40,7 @@ void WrapInScrollArea(QWidget* parent, QLayout* wrapped_layout, QWidget* to_resi
|
|||||||
auto* widget = new QWidget;
|
auto* widget = new QWidget;
|
||||||
widget->setLayout(wrapped_layout);
|
widget->setLayout(wrapped_layout);
|
||||||
|
|
||||||
auto* scroll_area = GetWrappedWidget(widget, to_resize);
|
auto* scroll_area = GetWrappedWidget(widget, to_resize, 0, 0);
|
||||||
|
|
||||||
auto* scroll_layout = new QVBoxLayout;
|
auto* scroll_layout = new QVBoxLayout;
|
||||||
scroll_layout->addWidget(scroll_area);
|
scroll_layout->addWidget(scroll_area);
|
||||||
|
@ -24,13 +24,13 @@ void SearchBar::CreateWidgets()
|
|||||||
m_search_edit = new QLineEdit;
|
m_search_edit = new QLineEdit;
|
||||||
m_close_button = new QPushButton(tr("Close"));
|
m_close_button = new QPushButton(tr("Close"));
|
||||||
|
|
||||||
m_search_edit->setPlaceholderText(tr("Type your search term here"));
|
m_search_edit->setPlaceholderText(tr("Search games..."));
|
||||||
|
|
||||||
auto* layout = new QHBoxLayout;
|
auto* layout = new QHBoxLayout;
|
||||||
|
|
||||||
layout->addWidget(m_search_edit);
|
layout->addWidget(m_search_edit);
|
||||||
layout->addWidget(m_close_button);
|
layout->addWidget(m_close_button);
|
||||||
layout->setMargin(0);
|
layout->setSizeConstraint(QLayout::SetMinAndMaxSize);
|
||||||
|
|
||||||
setLayout(layout);
|
setLayout(layout);
|
||||||
}
|
}
|
||||||
|
@ -226,6 +226,8 @@ void Settings::SetDebugModeEnabled(bool enabled)
|
|||||||
SConfig::GetInstance().bEnableDebugging = enabled;
|
SConfig::GetInstance().bEnableDebugging = enabled;
|
||||||
emit DebugModeToggled(enabled);
|
emit DebugModeToggled(enabled);
|
||||||
}
|
}
|
||||||
|
if (enabled)
|
||||||
|
SetCodeVisible(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool Settings::IsDebugModeEnabled() const
|
bool Settings::IsDebugModeEnabled() const
|
||||||
|
@ -116,6 +116,8 @@ void GameCubePane::CreateWidgets()
|
|||||||
layout->addWidget(ipl_box);
|
layout->addWidget(ipl_box);
|
||||||
layout->addWidget(device_box);
|
layout->addWidget(device_box);
|
||||||
|
|
||||||
|
layout->addStretch();
|
||||||
|
|
||||||
setLayout(layout);
|
setLayout(layout);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user