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
6af5dfb0
Commit
6af5dfb0
authored
Feb 28, 2013
by
Stefy Lanza (nextime / spora )
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fucking osx...
parent
ddd01cc5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
mainwin.cpp
src/mainwin.cpp
+12
-0
No files found.
src/mainwin.cpp
View file @
6af5dfb0
...
...
@@ -58,9 +58,21 @@ class QWebPageForMac : public QWebPage
{
Q_OBJECT
public
:
QWebPageForMac
(
WebWin
*
&
win
);
~
QWebPageForMac
();
QString
userAgentForUrl
(
const
QUrl
&
url
)
const
;
};
QWebPageForMac
::
QWebPageForMac
(
WebWin
*
&
win
)
:
QWebPage
(
win
)
{
}
QWebPageForMac
::~
QWebPageForMac
()
:
~
QWebPage
()
{
}
QString
QWebPageForMac
::
userAgentForUrl
(
const
QUrl
&
url
)
const
{
return
"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.21 (KHTML, like Gecko) skylivex Safari/537.21"
;
...
...
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