From 2c0fc6f4087442079051c2df1fff7d8fa2ac7b19 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Mon, 17 Apr 2017 15:05:24 +0200 Subject: Connect drumkit and midimap files as well as loading/status bare updates. --- plugingui/mainwindow.cc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'plugingui/mainwindow.cc') diff --git a/plugingui/mainwindow.cc b/plugingui/mainwindow.cc index 5c757be..82d98df 100644 --- a/plugingui/mainwindow.cc +++ b/plugingui/mainwindow.cc @@ -38,7 +38,9 @@ namespace GUI MainWindow::MainWindow(Settings& settings, void* native_window) : Window(native_window) - , settings(settings) + , settings{settings} + , settings_notifier{settings} + , main_tab{this, settings, settings_notifier} { CONNECT(this, sizeChangeNotifier, this, &MainWindow::sizeChanged); CONNECT(eventHandler(), closeNotifier, this, &MainWindow::closeEventHandler); @@ -94,7 +96,7 @@ void MainWindow::repaintEvent(RepaintEvent* repaintEvent) // DrumGizmo logo painter.drawImage(width() - logo.width() - 16, height() - logo.height() - 10, logo); - + // DrumGizmo version std::string version_string("v." + std::string(VERSION)); auto version_x = width() - font.textWidth(version_string) - sidebar.width() - 5; -- cgit v1.2.3