QTfrontend/ui/page/pagevideos.cpp
changeset 12268 2eedf9e0cd6d
parent 12252 5ac38cf14d91
child 12472 821732e6413d
equal deleted inserted replaced
12267:dad24eb53873 12268:2eedf9e0cd6d
    75         ~VideoItem();
    75         ~VideoItem();
    76 
    76 
    77         QString name;
    77         QString name;
    78         QString prefix; // original filename without extension
    78         QString prefix; // original filename without extension
    79         QString desc;   // description (duration, resolution, etc...)
    79         QString desc;   // description (duration, resolution, etc...)
    80         QString uploadUrl; // http://youtu.be/???????
    80         QString uploadUrl; // https://youtu.be/???????
    81         HWRecorder    * pRecorder; // non NULL if file is being encoded
    81         HWRecorder    * pRecorder; // non NULL if file is being encoded
    82         QNetworkReply * pUploading; // non NULL if file is being uploaded
    82         QNetworkReply * pUploading; // non NULL if file is being uploaded
    83         bool seen; // used when updating directory
    83         bool seen; // used when updating directory
    84         float lastSizeUpdate;
    84         float lastSizeUpdate;
    85         float progress;
    85         float progress;
   822         }
   822         }
   823     }
   823     }
   824 
   824 
   825     if (!videoid.isEmpty())
   825     if (!videoid.isEmpty())
   826     {
   826     {
   827         item->uploadUrl = "http://youtu.be/" + videoid;
   827         item->uploadUrl = "https://youtu.be/" + videoid;
   828         updateDescription();
   828         updateDescription();
   829 
   829 
   830         // save url in file
   830         // save url in file
   831         QFile * file = new QFile(cfgdir->absoluteFilePath("VideoTemp/" + item->prefix + "-url.txt"), this);
   831         QFile * file = new QFile(cfgdir->absoluteFilePath("VideoTemp/" + item->prefix + "-url.txt"), this);
   832         if (file->open(QIODevice::WriteOnly))
   832         if (file->open(QIODevice::WriteOnly))