Commit 6f85cf97 authored by Jean-Philippe Andre's avatar Jean-Philippe Andre

Qt: sorry guys, record works very fine actually...

parent b5e274fa
......@@ -350,13 +350,11 @@ AdvControlsWidget::AdvControlsWidget( intf_thread_t *_p_i, bool b_fsCreation = f
#endif
/* Record Button */
#if 0
recordButton = new QPushButton;
setupSmallButton( recordButton );
advLayout->addWidget( recordButton );
BUTTON_SET_ACT_I( recordButton, "", record,
qtr( "Record" ), record() );
#endif
/* Snapshot Button */
snapshotButton = new QPushButton;
......@@ -376,19 +374,16 @@ void AdvControlsWidget::enableInput( bool enable )
{
input_item_t *p_item = input_GetItem( THEMIM->getInput() );
i_input_id = p_item->i_id;
#if 0
recordButton->setVisible( var_GetBool( THEMIM->getInput(), "can-record" ) );
}
else
{
recordButton->setVisible( false );
#endif
}
ABButton->setEnabled( enable );
#if 0
recordButton->setEnabled( enable );
#endif
if( enable && ( i_last_input_id != i_input_id ) )
{
......@@ -469,7 +464,6 @@ void AdvControlsWidget::AtoBLoop( float f_pos, int i_time, int i_length )
}
}
// TODO: On-the-fly record needs to be reimplemented
void AdvControlsWidget::record()
{
input_thread_t *p_input = THEMIM->getInput();
......
......@@ -133,10 +133,7 @@ public:
private:
intf_thread_t *p_intf;
#if 0
QPushButton *recordButton;
#endif
QPushButton *ABButton;
QPushButton *recordButton, *ABButton;
QPushButton *snapshotButton, *frameButton;
static mtime_t timeA, timeB;
......
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