[mythtv] [patch] increase max horizontal resolution to 1440
Daniel Thor Kristjansson
danielk at mrl.nyu.edu
Fri Feb 4 17:44:49 UTC 2005
In the frontend setup dialog for xrandr the maximum horizontal
resolution is currently capped at 1200 px. We really should query for
the valid resolutions, but for 0.17 I think we should just up the max
to something more reasonable, like 1440 px.
Disclaimer: My default resolution is 1920x1440 ;)
-- Daniel
-------------- next part --------------
Index: programs/mythfrontend/globalsettings.cpp
===================================================================
RCS file: /var/lib/mythcvs/mythtv/programs/mythfrontend/globalsettings.cpp,v
retrieving revision 1.217
diff -u -r1.217 globalsettings.cpp
--- programs/mythfrontend/globalsettings.cpp 2 Feb 2005 07:11:10 -0000 1.217
+++ programs/mythfrontend/globalsettings.cpp 4 Feb 2005 16:57:43 -0000
@@ -1177,7 +1177,7 @@
static HostSpinBox *GuiVidModeHeight()
{
- HostSpinBox *gs = new HostSpinBox("GuiVidModeHeight", 0, 1200, 4, true);
+ HostSpinBox *gs = new HostSpinBox("GuiVidModeHeight", 0, 1440, 4, true);
gs->setLabelAboveWidget(true);
gs->setLabel(QObject::tr("Height"));
gs->setValue(0);
@@ -1201,7 +1201,7 @@
static HostSpinBox *VidModeHeight(int idx)
{
HostSpinBox *gs = new HostSpinBox(QString("VidModeHeight%1").arg(idx),
- 0, 1200, 4, true);
+ 0, 1440, 4, true);
gs->setLabel(QObject::tr("Y"));
gs->setValue(0);
gs->setHelpText(QObject::tr("Vertical resolution of video mode "
@@ -1238,7 +1238,7 @@
static HostSpinBox *TVVidModeHeight()
{
- HostSpinBox *gs = new HostSpinBox("TVVidModeHeight", 0, 1200, 4, true);
+ HostSpinBox *gs = new HostSpinBox("TVVidModeHeight", 0, 1440, 4, true);
gs->setLabelAboveWidget(true);
gs->setLabel(QObject::tr("Height"));
gs->setValue(0);
@@ -1251,7 +1251,7 @@
static HostSpinBox *TVVidModeHeight(int idx)
{
HostSpinBox *gs = new HostSpinBox(QString("TVVidModeHeight%1").arg(idx),
- 0, 1200, 4, true);
+ 0, 1440, 4, true);
gs->setLabel(QObject::tr("Y"));
gs->setValue(0);
gs->setHelpText(QObject::tr("Vertical resolution for playback video mode. "
More information about the mythtv-dev
mailing list