Fucking osx...

parent ddd01cc5
...@@ -58,9 +58,21 @@ class QWebPageForMac : public QWebPage ...@@ -58,9 +58,21 @@ class QWebPageForMac : public QWebPage
{ {
Q_OBJECT Q_OBJECT
public: public:
QWebPageForMac(WebWin* &win);
~QWebPageForMac();
QString userAgentForUrl(const QUrl &url) const; QString userAgentForUrl(const QUrl &url) const;
}; };
QWebPageForMac::QWebPageForMac(WebWin* &win) : QWebPage(win)
{
}
QWebPageForMac::~QWebPageForMac() : ~QWebPage()
{
}
QString QWebPageForMac::userAgentForUrl(const QUrl &url) const 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"; return "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.21 (KHTML, like Gecko) skylivex Safari/537.21";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment