diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2013-01-19 07:11:39 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2013-01-19 07:11:39 +0000 |
| commit | 3db1cecdf8a374cd3755757349af31eae9bad169 (patch) | |
| tree | ab368436f3fac60583771291ac63eb89de63114f /src/qmmpui/aboutdialog.cpp | |
| parent | 56152bbc29d5872f57483eb489b3b0eb025e0328 (diff) | |
| download | qmmp-3db1cecdf8a374cd3755757349af31eae9bad169.tar.gz qmmp-3db1cecdf8a374cd3755757349af31eae9bad169.tar.bz2 qmmp-3db1cecdf8a374cd3755757349af31eae9bad169.zip | |
about dialog: fixed rtl
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@3173 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/qmmpui/aboutdialog.cpp')
| -rw-r--r-- | src/qmmpui/aboutdialog.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/qmmpui/aboutdialog.cpp b/src/qmmpui/aboutdialog.cpp index 1d807027d..ef79034e4 100644 --- a/src/qmmpui/aboutdialog.cpp +++ b/src/qmmpui/aboutdialog.cpp @@ -56,6 +56,10 @@ QString AboutDialog::loadAbout() text.append("<head>"); text.append("<META content=\"text/html; charset=UTF-8\">"); text.append("</head>"); + if(layoutDirection() == Qt::RightToLeft) + text.append("<div dir='rtl'>"); + else + text.append("<div>"); text.append("<h3>"+tr("Qt-based Multimedia Player (Qmmp)")+"</h3>"); text.append("<p>"+getStringFromResource(":description")+"</p>"); @@ -114,6 +118,7 @@ QString AboutDialog::loadAbout() text.append("</li>"); } text.append("</ul>"); + text.append("<div>"); return text; } |
