Changeset - 1c029d412caa
[Not reviewed]
Hasan Yavuz Ă–ZDERYA - 10 years ago 2015-10-10 16:17:11
hy@ozderya.net
add an empty slot by default
1 file changed with 2 insertions and 0 deletions:
0 comments (0 inline, 0 general)
commandpanel.cpp
Show inline comments
 
@@ -30,12 +30,14 @@ CommandPanel::CommandPanel(QSerialPort* 
 
    serialPort = port;
 

	
 
    ui->setupUi(this);
 
    ui->scrollAreaWidgetContents->setLayout(new QVBoxLayout);
 

	
 
    connect(ui->pbNew, &QPushButton::clicked, this, &CommandPanel::newCommand);
 

	
 
    newCommand(); // add an empty slot by default
 
}
 

	
 
CommandPanel::~CommandPanel()
 
{
 
    delete ui;
 
}
0 comments (0 inline, 0 general)