From 894207a19fdb3ab364d82b001150f961748316c0 Mon Sep 17 00:00:00 2001 From: Yohann Dedy Date: Sat, 16 Jul 2016 10:49:41 +0200 Subject: [PATCH] Fixed constructor by adding QMidi classes --- src/mainwindow.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 677903d..392da2f 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -6,8 +6,14 @@ mainWindow::mainWindow(QWidget *parent) : QMainWindow(parent), _presetsTable(new QTableWidget), - _presetSettingsTable(new QTableWidget) + _presetSettingsTable(new QTableWidget), + _midiIn(new QMidiIn), + _midiOut(new QMidiOut), + _midiMessage(new QMidiMessage) { + //_midiIn->openPort(NULL); + //_midiOut->openPort(NULL); + QWidget *mainWidget = new QWidget(this); QHBoxLayout *mainLayout = new QHBoxLayout(mainWidget);