Fix the following warnings:
QMainWindow::saveState(): 'objectName' not set for QToolBar 'Main Toolbar'
QMainWindow::saveState(): 'objectName' not set for QToolBar 'Sampling Bar'
// Setup the toolbar
QToolBar *const toolbar = new QToolBar(tr("Main Toolbar"), this);
+ toolbar->setObjectName(QString::fromUtf8("MainToolbar"));
toolbar->addAction(action_open);
toolbar->addAction(action_save_as);
toolbar->addSeparator();
_icon_grey(":/icons/status-grey.svg"),
_run_stop_button(this)
{
+ setObjectName(QString::fromUtf8("SamplingBar"));
+
connect(&_run_stop_button, SIGNAL(clicked()),
this, SLOT(on_run_stop()));
connect(&_device_selector, SIGNAL(currentIndexChanged (int)),