summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael BrĂ¼ning <michael.bruning@digia.com>2014-09-03 19:26:37 +0200
committerJocelyn Turcotte <jocelyn.turcotte@digia.com>2014-09-03 20:50:12 +0200
commit1f95d6661f9d0323b67bb72fc144cb714ad0f46d (patch)
tree9b35038a737345a382f8b5085b2681c3f4f559e0
parent96511cd88bcbbb5c75525329e295735e326b9bc0 (diff)
[Win] Fix compiler error by using toQt method for string16.
Change-Id: I3412c8e7315020f517039290b03282513569ef2d Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com>
-rw-r--r--src/core/certificate_error_controller.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/certificate_error_controller.cpp b/src/core/certificate_error_controller.cpp
index 64e5b36d..b5c705de 100644
--- a/src/core/certificate_error_controller.cpp
+++ b/src/core/certificate_error_controller.cpp
@@ -111,7 +111,7 @@ CertificateErrorController::ResourceType CertificateErrorController::resourceTyp
static QString getQStringForMessageId(int message_id) {
base::string16 string = l10n_util::GetStringUTF16(message_id);
- return QString::fromUtf16(string.data(), string.length());
+ return toQt(string);
}
QString CertificateErrorController::errorString() const