Changeset - fa6975789e02
[Not reviewed]
default
0 1 0
Hasan Yavuz Ă–ZDERYA - 11 years ago 2015-03-07 18:03:15
hy@ozderya.net
close serial port when closing the application
1 file changed with 4 insertions and 0 deletions:
0 comments (0 inline, 0 general)
mainwindow.cpp
Show inline comments
 
@@ -57,6 +57,10 @@ MainWindow::MainWindow(QWidget *parent) 
 

	
 
MainWindow::~MainWindow()
 
{
 
    if (serialPort.isOpen())
 
    {
 
        serialPort.close();
 
    }
 
    delete ui;
 
}
 

	
0 comments (0 inline, 0 general)