Ticket #6745: livetvidletimeout.diff
File livetvidletimeout.diff, 1022 bytes (added by , 15 years ago) |
---|
-
programs/mythfrontend/globalsettings.cpp
2126 2126 return gc; 2127 2127 } 2128 2128 2129 static HostSpinBox *LiveTVIdleTimeout() 2130 { 2131 HostSpinBox *gs = new HostSpinBox("LiveTVIdleTimeout", 0, 3600, 1); 2132 gs->setLabel(QObject::tr("Live TV idle timeout")); 2133 gs->setValue(0); 2134 gs->setHelpText(QObject::tr( 2135 "Idle timeout for Live TV in minutes. " 2136 "0 disables the timeout.")); 2137 return gs; 2138 } 2139 2129 2140 static HostCheckBox *GeneratePreviewPixmaps() 2130 2141 { 2131 2142 HostCheckBox *gc = new HostCheckBox("GeneratePreviewPixmaps"); … … 4726 4737 columns->addChild(column2); 4727 4738 4728 4739 general1->addChild(columns); 4740 general1->addChild(LiveTVIdleTimeout()); 4729 4741 general1->addChild(AlwaysStreamFiles()); 4730 4742 #ifdef USING_OPENGL_VSYNC 4731 4743 general1->addChild(UseOpenGLVSync());