Ticket #8291: newshutdownsettings.patch

File newshutdownsettings.patch, 1.0 KB (added by jyavenard, 2 years ago)

Patch to change default settings so d-bus is active by default

  • programs/mythfrontend/globalsettings.cpp

     
    22802280{ 
    22812281    HostLineEdit *ge = new HostLineEdit("RebootCommand"); 
    22822282    ge->setLabel(QObject::tr("Reboot command")); 
    2283     ge->setValue("reboot"); 
     2283    ge->setValue(""); 
    22842284    ge->setHelpText(QObject::tr("Optional. Script to run if you select " 
    22852285                    "the reboot option from the exit menu, if the option " 
    22862286                    "is displayed. You must configure an exit key to " 
     
    22922292{ 
    22932293    HostLineEdit *ge = new HostLineEdit("HaltCommand"); 
    22942294    ge->setLabel(QObject::tr("Halt command")); 
    2295     ge->setValue("halt"); 
     2295    ge->setValue(""); 
    22962296    ge->setHelpText(QObject::tr("Optional. Script to run if you select " 
    22972297                    "the shutdown option from the exit menu, if the option " 
    22982298                    "is displayed. You must configure an exit key to "