Ticket #6480: 6480-mythmenu.patch

File 6480-mythmenu.patch, 506 bytes (added by anonymous, 10 years ago)

[20443] was supposed to fix this problem, but had a bug. this patch fixes the fix.

  • libs/libmythui/myththemedmenu.cpp

     
    178178 */
    179179void MythThemedMenu::ReloadExitKey(void)
    180180{
    181     int allowsd = GetMythDB()->GetNumSetting("AllowQuitShutdown", 0);
     181    int allowsd = GetMythDB()->GetNumSetting("AllowQuitShutdown", 4);
    182182
    183183    if (allowsd == 1)
    184184        m_exitModifier = Qt::ControlModifier;