Useless code is useless.
This commit is contained in:
parent
4781bc0f7a
commit
dc038dfe1e
@ -326,13 +326,6 @@ PartitionSplitterWidget::mouseMoveEvent( QMouseEvent* event )
|
||||
m_itemToResize->size = qRound64( span * percent );
|
||||
m_itemToResizeNext->size -= m_itemToResize->size - oldsize;
|
||||
|
||||
qint64 t = 0;
|
||||
for ( int row = 0; row < m_items.count(); ++row )
|
||||
{
|
||||
t += m_items[ row ].size;
|
||||
}
|
||||
Q_ASSERT( t == total );
|
||||
|
||||
repaint();
|
||||
|
||||
emit partitionResized( m_itemToResize->itemPath,
|
||||
|
Loading…
Reference in New Issue
Block a user