1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-20 02:36:34 +01:00

RTL: Correctly show messages in statusBar.

- Closes #1713
This commit is contained in:
srazi 2015-10-15 10:53:48 +03:30 committed by David Rosca
parent f755e312b9
commit e3ed2547db

View File

@ -116,7 +116,8 @@ StatusBarMessage::StatusBarMessage(BrowserWindow* window)
void StatusBarMessage::showMessage(const QString &message)
{
if (m_window->statusBar()->isVisible()) {
m_window->statusBar()->showMessage(message);
const static QChar LRE(0x202a);
m_window->statusBar()->showMessage(message.isRightToLeft() ? message : (LRE + message));
}
#ifdef Q_OS_WIN
else if (mApp->activeWindow() == m_window) {