diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2019-04-04 21:12:09 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2019-04-04 21:12:09 +0000 |
| commit | 64a0861bc42b2667a562ce8fbf82081282241bbc (patch) | |
| tree | 49dd06206b2ec9b728cef7168421c8fe54faf321 /src/plugins/Ui/skinned/textscroller.cpp | |
| parent | 245027ffccb6dd722b1c928b0d53a62f095c466e (diff) | |
| download | qmmp-64a0861bc42b2667a562ce8fbf82081282241bbc.tar.gz qmmp-64a0861bc42b2667a562ce8fbf82081282241bbc.tar.bz2 qmmp-64a0861bc42b2667a562ce8fbf82081282241bbc.zip | |
fixed qt 5.13 warnings
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@8770 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/Ui/skinned/textscroller.cpp')
| -rw-r--r-- | src/plugins/Ui/skinned/textscroller.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/Ui/skinned/textscroller.cpp b/src/plugins/Ui/skinned/textscroller.cpp index fe911ecd4..fbe0523d2 100644 --- a/src/plugins/Ui/skinned/textscroller.cpp +++ b/src/plugins/Ui/skinned/textscroller.cpp @@ -265,7 +265,7 @@ void TextScroller::preparePixmap(const QString &text, bool scrollable) if(scrollable) { int textWidth = m_bitmap ? QString(text + SCROLL_SEP).size() * 5 - : m_metrics->width(text + SCROLL_SEP); + : m_metrics->horizontalAdvance(text + SCROLL_SEP); int count = 150*m_ratio / textWidth + 1; int width = count * textWidth; QString fullText; |
