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
09f87a9c
Commit
09f87a9c
authored
Feb 27, 2013
by
Stefy Lanza (nextime / spora )
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Test to see if we can make flash work
parent
a2d13f86
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
mainwin.cpp
src/mainwin.cpp
+3
-2
No files found.
src/mainwin.cpp
View file @
09f87a9c
...
...
@@ -139,12 +139,13 @@ void MainWin::handle_youtubevideo(SKMessage &msg)
std
::
cout
<<
"OPEN URL "
<<
msg
.
parameters
[
"url"
].
toStdString
()
<<
std
::
endl
;
//if(msg.parameters.contains("width")
//if(msg.parameters.contains("height);
WebWin
*
wv
=
new
WebWin
;
WebWin
*
wv
=
new
WebWin
()
;
QWebPage
*
newWeb
=
new
QWebPage
(
wv
);
wv
->
setPage
(
newWeb
);
wv
->
setAttribute
(
Qt
::
WA_DeleteOnClose
,
true
);
wv
->
settings
()
->
setAttribute
(
QWebSettings
::
PluginsEnabled
,
true
);
wv
->
settings
()
->
setAttribute
(
QWebSettings
::
JavascriptEnabled
,
true
);
wv
->
setUrl
(
QUrl
(
msg
.
parameters
[
"url"
]));
wv
->
show
();
...
...
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