Ticket #8160: set_default_values.patch

File set_default_values.patch, 1.3 KB (added by chrisl, 2 years ago)
  • programs/mythfrontend/globalsettings.cpp

     
    22532253{ 
    22542254    HostLineEdit *ge = new HostLineEdit("RebootCommand"); 
    22552255    ge->setLabel(QObject::tr("Reboot command")); 
    2256     ge->setValue("reboot"); 
    2257     ge->setHelpText(QObject::tr("Command or script to run if you select " 
     2256    ge->setValue(""); 
     2257    ge->setHelpText(QObject::tr("Optional. Script to run if you select " 
    22582258                    "the reboot option from the exit menu, if the option " 
    22592259                    "is displayed. You must configure an exit key to " 
    22602260                    "display the exit menu.")); 
     
    22652265{ 
    22662266    HostLineEdit *ge = new HostLineEdit("HaltCommand"); 
    22672267    ge->setLabel(QObject::tr("Halt command")); 
    2268     ge->setValue("halt"); 
    2269     ge->setHelpText(QObject::tr("Command or script to run if you select " 
     2268    ge->setValue(""); 
     2269    ge->setHelpText(QObject::tr("Optional. Script to run if you select " 
    22702270                    "the shutdown option from the exit menu, if the option " 
    22712271                    "is displayed. You must configure an exit key to " 
    22722272                    "display the exit menu."));