Permalink
Browse files

Merge pull request #6927 from spycrab/qt_mpwnd_size

Qt/MappingWindow: Make sure widgets don't need scrolling by default
  • Loading branch information...
spycrab committed May 21, 2018
2 parents 32c4f3d + 9eb3bce commit f31f1a08fb8dca9e51e79d1d3a65ee8bff38273b
Showing with 2 additions and 2 deletions.
  1. +2 −2 Source/Core/DolphinQt2/Config/Mapping/MappingWindow.cpp
@@ -291,7 +291,7 @@ void MappingWindow::SetMappingType(MappingWindow::Type type)
AddWidget(tr("TAS Tools"), new HotkeyTAS(this));
HotkeyDebugging* debugging_widget = new HotkeyDebugging(this);
QWidget* debugging_widget_wrapper = GetWrappedWidget(debugging_widget, this, 150, 150);
QWidget* debugging_widget_wrapper = GetWrappedWidget(debugging_widget, this, 150, 205);
connect(&Settings::Instance(), &Settings::DebugModeToggled, this, [=](bool enabled) {
if (enabled)
m_tab_widget->insertTab(2, debugging_widget_wrapper, tr("Debugging"));
@@ -333,7 +333,7 @@ void MappingWindow::SetMappingType(MappingWindow::Type type)
void MappingWindow::AddWidget(const QString& name, QWidget* widget)
{
m_tab_widget->addTab(GetWrappedWidget(widget, this, 150, 150), name);
m_tab_widget->addTab(GetWrappedWidget(widget, this, 150, 205), name);
}
int MappingWindow::GetPort() const

0 comments on commit f31f1a0

Please sign in to comment.