diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2015-02-25 07:06:29 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2015-02-25 07:06:29 +0000 |
| commit | 0fbf37bfa5635dfc6d074acd062bddab0d427435 (patch) | |
| tree | aa123d1b4294504511da38c4c6e44537cdf3205f /src/plugins/Ui | |
| parent | d5fd2706d4740129540b86cab5e5ef41631cb819 (diff) | |
| download | qmmp-0fbf37bfa5635dfc6d074acd062bddab0d427435.tar.gz qmmp-0fbf37bfa5635dfc6d074acd062bddab0d427435.tar.bz2 qmmp-0fbf37bfa5635dfc6d074acd062bddab0d427435.zip | |
fixed extra string position
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@4743 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/Ui')
| -rw-r--r-- | src/plugins/Ui/skinned/listwidgetdrawer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/Ui/skinned/listwidgetdrawer.cpp b/src/plugins/Ui/skinned/listwidgetdrawer.cpp index a1bc97a3e..044aba899 100644 --- a/src/plugins/Ui/skinned/listwidgetdrawer.cpp +++ b/src/plugins/Ui/skinned/listwidgetdrawer.cpp @@ -121,7 +121,7 @@ void ListWidgetDrawer::prepareRow(ListWidgetRow *row) int extra_string_width = row->extraString.isEmpty() ? 0 : m_extra_metrics->width(row->extraString); if(extra_string_width) { - extra_string_width += m_extra_metrics->width("9")/2; + extra_string_width += row->length.isEmpty() ? 0 : m_extra_metrics->width("9")/2; row->x[ListWidgetRow::EXTRA_STRING] = row->x[ListWidgetRow::LENGTH] - extra_string_width; } |
