mirror of
https://github.com/vale981/Taevitas
synced 2025-03-04 17:11:40 -05:00
Some Cleanup
This commit is contained in:
parent
17ac850bb1
commit
c67b423966
1 changed files with 1 additions and 3 deletions
|
@ -226,7 +226,7 @@ void MainWindow::disableRecOptions() {
|
|||
}
|
||||
|
||||
void MainWindow::resetCapture() {
|
||||
if ( !ui->preview_button->isChecked() ) {
|
||||
if ( !ui->preview_button->isChecked() || !recorder.isRecording() ) {
|
||||
try {
|
||||
camMan.stopCapture();
|
||||
} catch ( FlyCapture2::Error e ) {
|
||||
|
@ -386,8 +386,6 @@ void MainWindow::togglePreview( bool checked ) {
|
|||
ui->preview_widget->setProperty( "enabled", false );
|
||||
ui->preview_widget->hide();
|
||||
|
||||
resize = true;
|
||||
|
||||
fit();
|
||||
|
||||
//Stop capture
|
||||
|
|
Loading…
Add table
Reference in a new issue