Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
S
skylivex
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
astronomy
skylivex
Commits
26a02853
Commit
26a02853
authored
Mar 05, 2013
by
Stefy Lanza (nextime / spora )
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix the redirect loop on flash fallback for osx
parent
aca7a37c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
mainwin.cpp
src/mainwin.cpp
+5
-0
No files found.
src/mainwin.cpp
View file @
26a02853
...
...
@@ -123,6 +123,11 @@ void MainWin::httpResponseFinished(QNetworkReply * reply)
QString
urlstr
=
yt
->
url
().
toString
();
std
::
cout
<<
"NO HTML5 FOR THIS YOUTUBE VIDEO "
<<
urlstr
.
toStdString
()
<<
std
::
endl
;
std
::
cout
<<
"Reopen with "
<<
urlstr
.
remove
(
"html5=1&"
).
toStdString
()
<<
std
::
endl
;
yt
->
stop
();
// connect(nam, SIGNAL(finished(QNetworkReply *)), this, SLOT(httpResponseFinished(QNetworkReply *)));
disconnect
(
yt
->
page
()
->
networkAccessManager
(),
&
ReferredNetworkAccessManager
::
finished
,
this
,
&
MainWin
::
httpResponseFinished
);
yt
->
load
(
QUrl
(
urlstr
.
remove
(
"html5=1&"
)));
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment