diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2011-03-10 09:01:37 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2011-03-10 09:01:37 +0000 |
| commit | 17341f97b7a0e602b7b75ad84d7669e86d75aa35 (patch) | |
| tree | dcbabdf063baafcd74440b4e486b327ea4056513 /src | |
| parent | 453294a4a1f1cf3dba9d6013a1ecccf0f0e1ed41 (diff) | |
| download | qmmp-17341f97b7a0e602b7b75ad84d7669e86d75aa35.tar.gz qmmp-17341f97b7a0e602b7b75ad84d7669e86d75aa35.tar.bz2 qmmp-17341f97b7a0e602b7b75ad84d7669e86d75aa35.zip | |
fixed song numbers aligment
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@2110 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src')
| -rw-r--r-- | src/ui/listwidget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/listwidget.cpp b/src/ui/listwidget.cpp index 3f1ffae84..5fc315a27 100644 --- a/src/ui/listwidget.cpp +++ b/src/ui/listwidget.cpp @@ -349,7 +349,7 @@ void ListWidget::updateList() //song numbers width if(m_show_number && m_align_numbres && m_model->count()) { - m_number_width = m_metrics->width("9") * QString::number(m_model->count() + 1).size(); + m_number_width = m_metrics->width("9") * QString::number(m_model->count()).size(); } else m_number_width = 0; |
