Ticket #3774: mvd.patch

File mvd.patch, 1.2 KB (added by Bill <cizek@…>, 17 years ago)
  • mythplugins/mythvideo/mythvideo/globalsettings.cpp

    diff -r -u -X diff.exclude myth.14055.0727a/mythplugins/mythvideo/mythvideo/globalsettings.cpp myth.14055.0727b/mythplugins/mythvideo/mythvideo/globalsettings.cpp
     
    22
    33#include "globalsettings.h"
    44#include "globals.h"
     5#include "videodlg.h"
    56
    67#include <qdir.h>
    78
     
    2728{
    2829    HostComboBox *gc = new HostComboBox("Default MythVideo View");
    2930    gc->setLabel(QObject::tr("Default View"));
    30     gc->addSelection(QObject::tr("Gallery"), "1");
    31     gc->addSelection(QObject::tr("Browser"), "0");
    32     gc->addSelection(QObject::tr("Listings"), "2");
     31    gc->addSelection(QObject::tr("Gallery"), QString("%1").arg(VideoDialog::DLG_GALLERY));
     32    gc->addSelection(QObject::tr("Browser"), QString("%1").arg(VideoDialog::DLG_BROWSER));
     33    gc->addSelection(QObject::tr("Listings"), QString("%1").arg(VideoDialog::DLG_TREE));
    3334    gc->setHelpText(QObject::tr("The default view for MythVideo. "
    3435                    "Other views can be reached via the popup menu available "
    3536                    "via the MENU key."));