diff --git a/commandpanel.cpp b/commandpanel.cpp --- a/commandpanel.cpp +++ b/commandpanel.cpp @@ -32,6 +32,10 @@ CommandPanel::CommandPanel(QSerialPort* ui->setupUi(this); ui->scrollAreaWidgetContents->setLayout(new QVBoxLayout); +#ifdef Q_OS_WIN + ui->pbNew->setIcon(QIcon(":/icons/list-add")); +#endif // Q_OS_WIN + connect(ui->pbNew, &QPushButton::clicked, this, &CommandPanel::newCommand); newCommand(); // add an empty slot by default