[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdelibs/khtml/ecma
From: David Faure <faure () kde ! org>
Date: 2004-11-29 11:09:15
Message-ID: 20041129110915.7C7731B975 () office ! kde ! org
[Download RAW message or body]
CVS commit by faure:
KMessageBox takes care of the convertFromPlainText already, and does it better (line \
by line). This fixes wrapping of long lines in alert() boxes.
BUG: 88860
M +2 -2 kjs_window.cpp 1.394
--- kdelibs/khtml/ecma/kjs_window.cpp #1.393:1.394
@@ -1465,5 +1465,5 @@ Value WindowFunc::tryCall(ExecState *exe
if ( part )
emit part->browserExtension()->requestFocus(part);
- KMessageBox::error(widget, QStyleSheet::convertFromPlainText(str), caption);
+ KMessageBox::error(widget, str, caption);
return Undefined();
case Window::Confirm:
@@ -1474,5 +1474,5 @@ Value WindowFunc::tryCall(ExecState *exe
if ( part )
emit part->browserExtension()->requestFocus(part);
- return Boolean((KMessageBox::warningYesNo(widget, \
QStyleSheet::convertFromPlainText(str), caption, + return \
Boolean((KMessageBox::warningYesNo(widget, str, caption,
KStdGuiItem::ok(), \
KStdGuiItem::cancel()) == KMessageBox::Yes)); case Window::Prompt:
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic