[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdelibs/khtml
From: Meni Livne <livne () kde ! org>
Date: 2004-07-19 8:37:53
Message-ID: 20040719083753.D84919AE8 () office ! kde ! org
[Download RAW message or body]
CVS commit by livne:
Correctly align text in error page on RTL layouts.
M +2 -1 khtml_part.cpp 1.1011
--- kdelibs/khtml/khtml_part.cpp #1.1010:1.1011
@@ -1508,5 +1508,6 @@ void KHTMLPart::htmlError( int errorCode
d->m_bJScriptOverride = true;
begin();
- QString errText = QString::fromLatin1( "<HTML><HEAD><TITLE>" );
+ QString errText = QString::fromLatin1( "<HTML dir=%1><HEAD><TITLE>" )
+ .arg(QApplication::reverseLayout() ? "rtl" : "ltr");
errText += i18n( "Error while loading %1" ).arg( reqUrl.htmlURL() );
errText += QString::fromLatin1( "</TITLE></HEAD><BODY><P>" );
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic