Title: [92481] trunk/Tools
Revision
92481
Author
[email protected]
Date
2011-08-05 08:40:10 -0700 (Fri, 05 Aug 2011)

Log Message

Unreviewed build fix for Qt-Minimal buildbot

Use ~/.QtTestBrowser for the cookiejar when QDesktopServices
is disabled.

Rubber-stamped by Holger Freyther.

* QtTestBrowser/cookiejar.cpp:
(TestBrowserCookieJar::TestBrowserCookieJar):

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (92480 => 92481)


--- trunk/Tools/ChangeLog	2011-08-05 14:36:33 UTC (rev 92480)
+++ trunk/Tools/ChangeLog	2011-08-05 15:40:10 UTC (rev 92481)
@@ -1,3 +1,15 @@
+2011-08-05  Ademar de Souza Reis Jr.  <[email protected]>
+
+        Unreviewed build fix for Qt-Minimal buildbot
+
+        Use ~/.QtTestBrowser for the cookiejar when QDesktopServices
+        is disabled.
+
+        Rubber-stamped by Holger Freyther.
+
+        * QtTestBrowser/cookiejar.cpp:
+        (TestBrowserCookieJar::TestBrowserCookieJar):
+
 2011-08-05  Ademar de Souza Reis Jr  <[email protected]>
 
         [Qt] QtTestBrowser: Add support for saving cookies on disk

Modified: trunk/Tools/QtTestBrowser/cookiejar.cpp (92480 => 92481)


--- trunk/Tools/QtTestBrowser/cookiejar.cpp	2011-08-05 14:36:33 UTC (rev 92480)
+++ trunk/Tools/QtTestBrowser/cookiejar.cpp	2011-08-05 15:40:10 UTC (rev 92481)
@@ -41,7 +41,12 @@
     m_timer.setSingleShot(true);
     connect(&m_timer, SIGNAL(timeout()), this, SLOT(saveToDisk()));
 
+#ifndef QT_NO_DESKTOPSERVICES
     QString path = QDesktopServices::storageLocation(QDesktopServices::CacheLocation);
+#else
+    QString path = QDir::homePath() + "/.QtTestBrowser";
+#endif
+
     QDir().mkpath(path);
     m_file.setFileName(path + "/cookieJar");
 }
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to