File Source plugin: removed redundant navigation time display

This commit is contained in:
f4exb 2016-03-13 00:46:37 +01:00
parent 108e743da8
commit 1eeb308d47
2 changed files with 0 additions and 32 deletions

View File

@ -192,8 +192,6 @@ void FileSourceGui::on_navTimeSlider_valueChanged(int value)
int t_sec = (m_recordLength * value) / 100;
QTime t(0, 0, 0, 0);
t = t.addSecs(t_sec);
QString s_time = t.toString("hh:mm:ss");
ui->navTimeText->setText(s_time);
FileSourceInput::MsgConfigureFileSourceSeek* message = FileSourceInput::MsgConfigureFileSourceSeek::create(value);
m_sampleSource->getInputMessageQueue()->push(message);
@ -268,7 +266,6 @@ void FileSourceGui::updateWithStreamTime()
{
float posRatio = (float) t_sec / (float) m_recordLength;
ui->navTimeSlider->setValue((int) (posRatio * 100.0));
ui->navTimeText->setText(s_time);
}
}

View File

@ -387,35 +387,6 @@
</property>
</widget>
</item>
<item>
<widget class="Line" name="line">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="navTimeText">
<property name="enabled">
<bool>false</bool>
</property>
<property name="minimumSize">
<size>
<width>60</width>
<height>0</height>
</size>
</property>
<property name="toolTip">
<string>Navigate time</string>
</property>
<property name="text">
<string>00:00:00</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
</layout>
</item>
<item>