mirror of
https://github.com/vale981/Taevitas
synced 2025-03-05 17:41:42 -05:00
Some Cleanup. Error Handling
This commit is contained in:
parent
6a421c06fc
commit
2b2f342d28
1 changed files with 3 additions and 5 deletions
|
@ -182,10 +182,10 @@ void MainWindow::setStatus( STATUS status ) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void MainWindow::fit() {
|
void MainWindow::fit() {
|
||||||
setMinimumSize( 0, 0 );
|
//setMinimumSize( 0, 0 );
|
||||||
setMaximumSize( 5000, 5000 );
|
//setMaximumSize( 5000, 5000 );
|
||||||
adjustSize();
|
adjustSize();
|
||||||
setFixedSize( this->size() );
|
//setFixedSize( this->size() );
|
||||||
}
|
}
|
||||||
|
|
||||||
void MainWindow::updateCameraList( unsigned int num_cameras ) {
|
void MainWindow::updateCameraList( unsigned int num_cameras ) {
|
||||||
|
@ -494,7 +494,5 @@ void MainWindow::handleWriteError( FlyCapture2::Error err ) {
|
||||||
|
|
||||||
void MainWindow::selectSerialPort( int port ) {
|
void MainWindow::selectSerialPort( int port ) {
|
||||||
ui->serialControl->setProperty( "visible", comm.selectPort( port ) );
|
ui->serialControl->setProperty( "visible", comm.selectPort( port ) );
|
||||||
|
|
||||||
qDebug() << "fit";
|
|
||||||
fit();
|
fit();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue