Ticket #11695: proxy.diff

File proxy.diff, 1.1 KB (added by JYA, 8 years ago)
  • mythtv/programs/mythavtest/main.cpp

    diff --git a/mythtv/programs/mythavtest/main.cpp b/mythtv/programs/mythavtest/main.cpp
    index bc1ec9e..2d4087e 100644
    a b using namespace std; 
    2323#include "dbcheck.h"
    2424#include "mythlogging.h"
    2525#include "signalhandling.h"
     26#include "mythmiscutil.h"
    2627
    2728// libmythui
    2829#include "mythuihelper.h"
    int main(int argc, char *argv[]) 
    258259    else
    259260    {
    260261        TV::InitKeys();
     262        setHttpProxy();
    261263
    262264        if (!UpgradeTVDatabaseSchema(false))
    263265        {
  • mythtv/programs/mythtv-setup/main.cpp

    diff --git a/mythtv/programs/mythtv-setup/main.cpp b/mythtv/programs/mythtv-setup/main.cpp
    index 4208068..aa14595 100644
    a b  
    4141#include "commandlineparser.h"
    4242#include "profilegroup.h"
    4343#include "signalhandling.h"
     44#include "mythmiscutil.h"
    4445
    4546using namespace std;
    4647
    int main(int argc, char *argv[]) 
    368369            return GENERIC_EXIT_DB_ERROR;
    369370    }
    370371
     372    setHttpProxy();
     373
    371374    if (use_display)
    372375    {
    373376        GetMythUI()->LoadQtConfig();