diff options
Diffstat (limited to 'playerwidget.cpp')
-rw-r--r-- | playerwidget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/playerwidget.cpp b/playerwidget.cpp index a21cdca..c9e8214 100644 --- a/playerwidget.cpp +++ b/playerwidget.cpp @@ -644,7 +644,7 @@ void PlayerWidget::addSong(const QModelIndex &idx){ item->setText(display); item->setIcon(QIcon(":/song.png")); item->setData(idx.data(CollectionWidget::FullPathRole), CollectionWidget::FullPathRole); - quint64 len = idx.data(CollectionWidget::LengthRole).toUInt(); + int len = idx.data(CollectionWidget::LengthRole).toInt(); if(len == 0){ len = Helper::lengthInSeconds(idx.data(CollectionWidget::FullPathRole).toString()); } |