aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/plugins/Ui/skinned/playlistheader.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/plugins/Ui/skinned/playlistheader.cpp b/src/plugins/Ui/skinned/playlistheader.cpp
index 13c8658d0..3b4b3a38a 100644
--- a/src/plugins/Ui/skinned/playlistheader.cpp
+++ b/src/plugins/Ui/skinned/playlistheader.cpp
@@ -561,13 +561,13 @@ void PlayListHeader::paintEvent(QPaintEvent *)
if(rtl)
{
- if(m_number_width)
- {
- painter.drawLine(rect.right(), 0, rect.right(), height());
- }
-
if(m_model->count() == 1)
{
+ if(m_number_width)
+ {
+ painter.drawLine(rect.right(), 0, rect.right(), height());
+ }
+
painter.drawText(rect.right() - m_padding - m_metrics->width(name(0)),
m_metrics->ascent(), name(0));
if(m_sorting_column == 0)