Add a default useragent for now.
authorstaikos <staikos@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 11 Dec 2006 01:23:48 +0000 (01:23 +0000)
committerstaikos <staikos@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 11 Dec 2006 01:23:48 +0000 (01:23 +0000)
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@18148 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebKitQt/ChangeLog
WebKitQt/WebCoreSupport/FrameLoaderClientQt.cpp

index a083e40039bdde6f107a15425de94010679a9d1f..1989ee6a017739285d232163bdf57d8b96906ad2 100644 (file)
@@ -1,3 +1,12 @@
+2006-12-10  George Staikos  <stakos@kde.org>
+
+        Reviewed by Zack.
+
+        Add a default user agent for now.
+
+        * WebCoreSupport/FrameLoaderClientQt.cpp:
+        (WebCore::FrameLoaderClientQt::userAgent):
+
 2006-12-10  Lars Knoll <lars@trolltech.com>
 
         Reviewed by Zack
index 8efc40aa202d545fbbb3734768f2e44beabca366..31a1f8a8f9febb3f29eca1dff474734c75604500 100644 (file)
@@ -495,8 +495,7 @@ void FrameLoaderClientQt::setTitle(const String& title, const KURL&)
 
 String FrameLoaderClientQt::userAgent()
 {
-    notImplemented();
-    return String();
+    return "Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en) AppleWebKit/418.9.1 (KHTML, like Gecko) Safari/419.3 Qt";
 }
 
 void FrameLoaderClientQt::dispatchDidReceiveIcon()