#include <stdint.h>
#include <stdarg.h>
#include <glib.h>
-#include <libsigrok/libsigrok.hpp>
+#include <libsigrokcxx/libsigrokcxx.hpp>
using std::list;
using std::map;
// Set the window icon
QIcon icon;
- icon.addFile(QString::fromUtf8(":/icons/sigrok-logo-notext.png"),
- QSize(), QIcon::Normal, QIcon::Off);
+ icon.addFile(QString(":/icons/sigrok-logo-notext.svg"));
setWindowIcon(icon);
// Setup the central widget
setMenuBar(menu_bar);
QMetaObject::connectSlotsByName(this);
- // Setup the sampling bar
+ // Setup the toolbar
main_bar_ = new toolbars::MainBar(session_, *this);
// Populate the device list and select the initially selected device
const QString infoMessage;
try {
- session_.set_file(file_name.toStdString());
+ session_.set_session_file(file_name.toStdString());
} catch(Error e) {
show_session_error(tr("Failed to load ") + file_name, e.what());
session_.set_default_device();