GTK: Fix the joypad config dialog using 100% CPU
This commit is contained in:
parent
2c2804aa60
commit
1d6b01bd8b
|
@ -90,8 +90,8 @@ JoypadConfigDialog::JoypadConfigDialog(Config::Section * _poConfig) :
|
||||||
get_vbox()->pack_start(m_oTable);
|
get_vbox()->pack_start(m_oTable);
|
||||||
|
|
||||||
// Signals and default values
|
// Signals and default values
|
||||||
m_oConfigSig = Glib::signal_idle().connect(sigc::mem_fun(*this, &JoypadConfigDialog::bOnConfigIdle),
|
m_oConfigSig = Glib::signal_timeout().connect(sigc::mem_fun(*this, &JoypadConfigDialog::bOnConfigIdle),
|
||||||
Glib::PRIORITY_DEFAULT_IDLE);
|
50);
|
||||||
m_oDefaultJoypad.signal_toggled().connect(sigc::mem_fun(*this,
|
m_oDefaultJoypad.signal_toggled().connect(sigc::mem_fun(*this,
|
||||||
&JoypadConfigDialog::vOnDefaultJoypadSelect) );
|
&JoypadConfigDialog::vOnDefaultJoypadSelect) );
|
||||||
m_oTitleCombo.signal_changed().connect(sigc::mem_fun(*this,
|
m_oTitleCombo.signal_changed().connect(sigc::mem_fun(*this,
|
||||||
|
|
Loading…
Reference in New Issue