Commit edf05f45 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

MediaCellView: Remove unused default parameter

parent a583bf72
......@@ -255,13 +255,10 @@ MediaCellView::arrowButtonClicked( QWidget*, QMouseEvent* )
}
void
MediaCellView::setLength( qint64 length, bool mSecs )
MediaCellView::setLength( qint64 length )
{
QTime duration;
if ( mSecs )
duration = duration.addMSecs( length );
else
duration = duration.addSecs( length );
duration = duration.addMSecs( length );
m_ui->length->setText( duration.toString( "hh:mm:ss" ) );
}
......
......@@ -51,7 +51,7 @@ public:
* \brief Set the length displayed in the cell
* \param length The media length, in ms.
*/
void setLength( qint64 length, bool mSecs = true );
void setLength( qint64 length );
QString title() const;
const QUuid &uuid() const;
const Clip* clip() const;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment