summaryrefslogtreecommitdiffstats
path: root/src/core/browser_context_qt.cpp
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@digia.com>2014-12-15 12:21:17 +0100
committerAllan Sandfeld Jensen <allan.jensen@theqtcompany.com>2015-01-07 13:40:18 +0100
commitdaaa7a9c208671b7b450cf292569fa2f486850fe (patch)
tree4fab68c549f94655496d3e9ac3b740e7f5285784 /src/core/browser_context_qt.cpp
parent54e05945b0ec4328b9d56b3b6a9886fc24ad3e6a (diff)
Do not use QDir::separator()
Build all paths Qt-style using / separators, and only convert it when converted to Chromium types. Change-Id: I181be6edb903f38e1772bcd324972d1d4e6672fc Reviewed-by: Pierre Rossi <pierre.rossi@theqtcompany.com>
Diffstat (limited to 'src/core/browser_context_qt.cpp')
-rw-r--r--src/core/browser_context_qt.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/browser_context_qt.cpp b/src/core/browser_context_qt.cpp
index e2cc8851b..9337b6b6b 100644
--- a/src/core/browser_context_qt.cpp
+++ b/src/core/browser_context_qt.cpp
@@ -61,12 +61,12 @@ BrowserContextQt::~BrowserContextQt()
base::FilePath BrowserContextQt::GetPath() const
{
- return base::FilePath(toFilePathString(m_adapter->dataPath()));
+ return toFilePath(m_adapter->dataPath());
}
base::FilePath BrowserContextQt::GetCachePath() const
{
- return base::FilePath(toFilePathString(m_adapter->cachePath()));
+ return toFilePath(m_adapter->cachePath());
}
bool BrowserContextQt::IsOffTheRecord() const