Title: [118629] trunk/Source/WebKit/qt
Revision
118629
Author
[email protected]
Date
2012-05-27 12:48:36 -0700 (Sun, 27 May 2012)

Log Message

[Qt] Trivial unreviewed build fix with newer Qt

* Api/qwebpage.cpp:
(QWebPage::_javascript_Prompt): Don't use deprecated QString/QChar functions.

Modified Paths

Diff

Modified: trunk/Source/WebKit/qt/Api/qwebpage.cpp (118628 => 118629)


--- trunk/Source/WebKit/qt/Api/qwebpage.cpp	2012-05-27 19:27:45 UTC (rev 118628)
+++ trunk/Source/WebKit/qt/Api/qwebpage.cpp	2012-05-27 19:48:36 UTC (rev 118629)
@@ -2143,7 +2143,7 @@
     // double the &'s because single & will underline the following character
     // (Accelerator mnemonics)
     QString escMsg(msg);
-    escMsg.replace(QChar::fromAscii('&'), QString::fromAscii("&&"));
+    escMsg.replace(QChar::fromLatin1('&'), QLatin1String("&&"));
     dlg.setLabelText(escMsg);
 
     dlg.setTextEchoMode(QLineEdit::Normal);

Modified: trunk/Source/WebKit/qt/ChangeLog (118628 => 118629)


--- trunk/Source/WebKit/qt/ChangeLog	2012-05-27 19:27:45 UTC (rev 118628)
+++ trunk/Source/WebKit/qt/ChangeLog	2012-05-27 19:48:36 UTC (rev 118629)
@@ -1,3 +1,10 @@
+2012-05-27  Simon Hausmann  <[email protected]>
+
+        [Qt] Trivial unreviewed build fix with newer Qt
+
+        * Api/qwebpage.cpp:
+        (QWebPage::_javascript_Prompt): Don't use deprecated QString/QChar functions.
+
 2012-05-24  Ryosuke Niwa  <[email protected]>
 
         createContextualFragment and insertAdjacentHTML should throw syntax error
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to